package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/octez-libs.rpc-http-server/Tezos_rpc_http_server/RPC_server/index.html
Module Tezos_rpc_http_server.RPC_server
Source
Typed RPC services: server implementation.
include sig ... end
Source
type callback =
Cohttp_lwt_unix.Server.conn ->
Cohttp.Request.t ->
Cohttp_lwt.Body.t ->
Cohttp_lwt_unix.Server.response_action Lwt.t
Source
val init_server :
?cors:Resto_cohttp.Cors.t ->
?agent:string ->
?acl:Resto_acl.Acl.t ->
media_types:Media_type.t list ->
unit Directory.t ->
server
Source
val init_and_launch :
?host:string ->
?cors:Resto_cohttp.Cors.t ->
?agent:string ->
?acl:Resto_acl.Acl.t ->
media_types:Media_type.t list ->
unit Directory.t ->
Conduit_lwt_unix.server ->
unit Lwt.t
Limits (or not) the number of maximum allowed RPC connections at any given time
Source
val launch :
?host:string ->
server ->
?conn_closed:(Cohttp_lwt_unix.Server.conn -> unit) ->
?callback:callback ->
?max_active_connections:Max_active_rpc_connections.t ->
Conduit_lwt_unix.server ->
unit Lwt.t
launch ?host server ?conn_closed ?callback ?max_active_connections listening_protocol
starts the given resto server
initiating the listening loop using the
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>