diff --git a/json_rpc/rpcproxy.nim b/json_rpc/rpcproxy.nim index d6b55d6..08a600c 100644 --- a/json_rpc/rpcproxy.nim +++ b/json_rpc/rpcproxy.nim @@ -10,14 +10,14 @@ type Http, WebSocket - ClientConfig = object - case kind: ClientKind + ClientConfig* = object + case kind*: ClientKind of Http: - httpUri: string + httpUri*: string of WebSocket: - wsUri: string - compression: bool - flags: set[TLSFlags] + wsUri*: string + compression*: bool + flags*: set[TLSFlags] RpcProxy* = ref object of RootRef rpcHttpServer*: RpcHttpServer