package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-libs.rpc-http-server/Tezos_rpc_http_server/RPC_server/index.html

Module Tezos_rpc_http_server.RPC_serverSource

Typed RPC services: server implementation.

Sourcetype cors = {
  1. allowed_headers : string list;
  2. allowed_origins : string list;
}
include sig ... end
Sourcemodule Media_type : sig ... end
Sourcemodule Directory : sig ... end
Sourcetype server
Sourcetype callback = Cohttp_lwt_unix.Server.conn -> Cohttp.Request.t -> Cohttp_lwt.Body.t -> Cohttp_lwt_unix.Server.response_action Lwt.t
Sourceval init_server : ?cors:Resto_cohttp.Cors.t -> ?agent:string -> ?acl:Resto_acl.Acl.t -> media_types:Media_type.t list -> unit Directory.t -> server
Sourceval resto_callback : server -> callback
Sourceval launch : ?host:string -> server -> ?conn_closed:(Cohttp_lwt_unix.Server.conn -> unit) -> ?callback:callback -> Conduit_lwt_unix.server -> unit Lwt.t
Sourceval 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
Sourceval set_acl : server -> Resto_acl.Acl.t -> unit
Sourceval shutdown : server -> unit Lwt.t
Sourcemodule Acl : sig ... end
OCaml

Innovation. Community. Security.