aboutsummaryrefslogtreecommitdiff
path: root/lib/virtuals/v_string/v_string.mli
blob: 267dbf222c1bd9643f91a3c272bc91e6a7b4f782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
type t
(**
   This module provide a common signature between the server and javascript
   side in order to create URL in the same way.
*)

val v : string -> t
val s : t -> string
val concat : ?sep:t -> t list -> t

val encode : t -> t
(** Encode an element of the url by percent-encoding. The function is
      expected to encode "/" as well.
   *)