package stog_server_multi

  1. Overview
  2. Docs

Module Stog_server_multi.Ed

Multi server editor.

module S = Cohttp_lwt_unix.Server
module J = Yojson.Safe
module Server : Ojs_server.Server.S with type Rpc.app_server_msg = Stog_multi_ed_common.Types.App_msg.app_server_msg and type Rpc.app_client_msg = Stog_multi_ed_common.Types.App_msg.app_client_msg
val init : ?sshkey:string -> stog_dir:Ojs_base.Path.t -> git:Git_server.git_repo -> unit -> Server.connection_group
val http_handler : Config.t -> Config.account -> http_url:Stog.Url.url_config -> ws_url:Stog.Url.url_config -> string list -> string -> 'a -> 'b -> string list -> (Cohttp.Response.t * Cohttp_lwt__.Body.t) Lwt.t