Module GapiUtilsSource

Sourcemodule Infix : sig ... end
Sourceval is_weak_etag : string -> bool
Sourceval etag_option : string -> string option
Sourceval merge_query_string : (string * string) list -> string -> string
Sourceval add_path_to_url : ?encoded:bool -> string list -> string -> string
Sourceval string_after_char : char -> string -> string
Sourceval string_before_char : char -> string -> string
Sourceval divide_string : string -> char -> string * string

divide_string s c splits s into (before, after), where before is the substring of s preceding c and after is the substring of s following c. before is "" and after is s if sep doesn't occur in s.

Sourceval strip_string : string -> string
Sourceval string_starts_with : string -> string -> bool
Sourceval string_ends_with : string -> string -> bool
Sourceval wait_exponential_backoff : int -> unit
Sourceval option_map_default : ('a -> 'b) -> 'b -> 'a option -> 'b