package tezos-rpc-http-server

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Typed RPC services: server implementation.

type cors = {
  1. allowed_headers : string list;
  2. allowed_origins : string list;
}
type server

A handle on the server worker.

val resto_callback : server -> callback
val init_server : ?cors:cors -> ?agent:string -> ?acl:Resto_acl.Acl.t -> media_types:Tezos_rpc_http.Media_type.t list -> unit Tezos_rpc.Directory.t -> server

Initializes a RPC server

val launch : ?host:string -> server -> ?callback:callback -> Conduit_lwt_unix.server -> unit Lwt.t

Promise server.

val shutdown : server -> unit Lwt.t

Kill an RPC server.

module Acl : sig ... end
OCaml

Innovation. Community. Security.