Browse Source

ws: small comment

pull/604/head
Ethan Buchman 7 years ago
parent
commit
797acbe911
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rpc/lib/client/ws_client.go

+ 1
- 1
rpc/lib/client/ws_client.go View File

@ -69,7 +69,7 @@ type WSClient struct {
// NewWSClient returns a new client. See the commentary on the func(*WSClient) // NewWSClient returns a new client. See the commentary on the func(*WSClient)
// functions for a detailed description of how to configure ping period and // functions for a detailed description of how to configure ping period and
// pong wait time.
// pong wait time. The endpoint argument must begin with a `/`.
func NewWSClient(remoteAddr, endpoint string, options ...func(*WSClient)) *WSClient { func NewWSClient(remoteAddr, endpoint string, options ...func(*WSClient)) *WSClient {
addr, dialer := makeHTTPDialer(remoteAddr) addr, dialer := makeHTTPDialer(remoteAddr)
c := &WSClient{ c := &WSClient{


Loading…
Cancel
Save