package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Infix : sig ... end
val is_weak_etag : string -> bool
val etag_option : string -> string option
val merge_query_string : (string * string) list -> string -> string
val add_path_to_url : ?encoded:bool -> string list -> string -> string
val string_after_char : char -> string -> string
val string_before_char : char -> string -> string
val 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.

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