summaryrefslogtreecommitdiff
path: root/gemini
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gemini/geminiTransaction.ml4
-rw-r--r--gemini/geminiTransaction.mli2
2 files changed, 3 insertions, 3 deletions
diff --git a/gemini/geminiTransaction.ml b/gemini/geminiTransaction.ml
index 282d6e7..e79e40d 100644
--- a/gemini/geminiTransaction.ml
+++ b/gemini/geminiTransaction.ml
@@ -31,7 +31,7 @@ sig
type response = status * mime_type * string
- val string_to_request : string -> request
+ val make_request : url:string -> request
val int_to_status : int -> status option
@@ -74,7 +74,7 @@ struct
type response = status * mime_type * string
- let string_to_request r =
+ let make_request ~url:r =
let url = Uri.of_string r in
let () = match Uri.scheme url with
| Some "gemini" -> ()
diff --git a/gemini/geminiTransaction.mli b/gemini/geminiTransaction.mli
index 45049f1..f365f71 100644
--- a/gemini/geminiTransaction.mli
+++ b/gemini/geminiTransaction.mli
@@ -31,7 +31,7 @@ sig
type response = status * mime_type * string
- val string_to_request : string -> request
+ val make_request : url:string -> request
val int_to_status : int -> status option