ligo/lib_node_http/RPC_server.ml
2017-12-11 17:53:48 +00:00

19 lines
855 B
OCaml

(**************************************************************************)
(* *)
(* Copyright (c) 2014 - 2017. *)
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
type cors = Resto_cohttp.Cors.t = {
allowed_headers : string list ;
allowed_origins : string list ;
}
include Resto_directory
module Directory = Resto_directory.Make(RPC.Data)
include Resto_cohttp.Server.Make(RPC.Data)(Logging.RPC)