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 launch : ?host:string -> ?cors:cors -> ?agent:string -> ?acl:Resto_acl.Acl.t -> media_types:Tezos_rpc_http.Media_type.t list -> Conduit_lwt_unix.server -> unit Tezos_rpc.RPC_directory.t -> server Lwt.t

Promise a running RPC server.

val shutdown : server -> unit Lwt.t

Kill an RPC server.

module Acl : sig ... end
OCaml

Innovation. Community. Security.