diff --git a/socket/web/client.go b/socket/web/client.go index 623c885..1e0f488 100644 --- a/socket/web/client.go +++ b/socket/web/client.go @@ -26,12 +26,12 @@ type Client struct { socket.ClientConnHandlers socket.ReadWriteHandlers - Name string + Name string `json:"name"` - URL string + URL string `json:"url"` RequestHeader http.Header - Subprotocols []string + Subprotocols []string `json:"subprotocols"` // Jar specifies the cookie jar. // If Jar is nil, cookies are not sent in requests and ignored // in responses.