package conduit-mirage
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include Resolver_lwt.S
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val sexp_of_svc : svc -> Sexplib0.Sexp.t
val svc_of_sexp : Sexplib0.Sexp.t -> svc
val (++) : service_fn -> service_fn -> service_fn
val init :
?service:service_fn ->
?rewrites:(string * rewrite_fn) list ->
unit ->
t
val add_rewrite : host:string -> f:rewrite_fn -> t -> unit
val set_service : f:service_fn -> t -> unit
val service : t -> service_fn
val resolve_uri :
?rewrites:(string * rewrite_fn) list ->
uri:Uri.t ->
t ->
Conduit.endp io
val static : (string, port:int -> Conduit.endp) Stdlib.Hashtbl.t -> t
static hosts
constructs a resolver that looks up any resolution requests from the static hosts
hashtable instead of using the system resolver.
val localhost : t
localhost
is a static resolver that has a single entry that maps localhost
to 127.0.0.1
, and fails on all other hostnames.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>