package ocaml-js-stdlib

  1. Overview
  2. Docs
type t
val get_hash : unit -> string
val set_hash : string -> unit
val host : t -> string
val set_host : t -> string -> unit
val hostname : t -> string
val set_hostname : t -> string -> unit
val href : unit -> string
val set_href : string -> unit
val pathname : t -> string
val set_pathname : t -> string -> unit
val port : t -> string
val set_port : t -> string -> unit
val protocol : t -> string
val set_protocol : t -> string -> unit
val assign : t -> string -> unit
val reload : t -> ?force:bool -> unit -> unit
val replace : t -> string -> unit
OCaml

Innovation. Community. Security.