Up

Module Simple_tcp_proxy = Simple_tcp_proxy

Signature

type t
val create : proxy_listen_port:int -> server_listen_port:int -> t Async.Std.Deferred.t
val close : t -> unit Async.Std.Deferred.t
val stop_client_to_server : t -> unit
val stop_server_to_client : t -> unit
val allow_client_to_server : t -> unit
val allow_server_to_client : t -> unit