package textrazor
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = {
secure : bool;
(*Whether to use SSL when querying TextRazor.
*)use_eu_endpoint : bool;
(*Whether to use the European endpoint only, for GPDR purposes.
*)
}
Data structure for client-level configuration.
val create : ?secure:bool -> ?use_eu_endpoint:bool -> unit -> t
Creates a new configuration.
Default values are {secure = true; use_eu_endpoint = false}
.
val url :
t ->
?path:string ->
?query:(string * string list) list ->
unit ->
Uri.t
Builds a TextRazor URL according to the given configuration.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>