Update the example with https://mirage.io/

Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
This commit is contained in:
Calascibetta Romain 2022-10-17 15:03:24 +02:00 committed by GitHub
parent 8b7a8fb528
commit ab520b4c3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ open Lwt.Infix
module Make (HTTP_client : Http_mirage_client.S) = struct module Make (HTTP_client : Http_mirage_client.S) = struct
let start http_client = let start http_client =
Http_mirage_client.one_request http_client "https://google.com/" Http_mirage_client.one_request http_client "https://mirage.io/"
>>= function >>= function
| Ok (resp, body) -> ... | Ok (resp, body) -> ...
| Error _ -> ... | Error _ -> ...