Clarify documentation. Fix typo.
This commit is contained in:
parent
b81555beea
commit
911a735e1f
1 changed files with 1 additions and 1 deletions
|
@ -1182,7 +1182,7 @@ func dial(config *ConnConfig) (*websocket.Conn, error) {
|
||||||
|
|
||||||
// New creates a new RPC client based on the provided connection configuration
|
// New creates a new RPC client based on the provided connection configuration
|
||||||
// details. The notification handlers parameter may be nil if you are not
|
// details. The notification handlers parameter may be nil if you are not
|
||||||
// interested in receiving notifications and will be ignored when if the
|
// interested in receiving notifications and will be ignored if the
|
||||||
// configuration is set to run in HTTP POST mode.
|
// configuration is set to run in HTTP POST mode.
|
||||||
func New(config *ConnConfig, ntfnHandlers *NotificationHandlers) (*Client, error) {
|
func New(config *ConnConfig, ntfnHandlers *NotificationHandlers) (*Client, error) {
|
||||||
// Either open a websocket connection or create an HTTP client depending
|
// Either open a websocket connection or create an HTTP client depending
|
||||||
|
|
Loading…
Add table
Reference in a new issue