This commit is contained in:
crusader 2018-04-11 16:21:18 +09:00
parent f5f96c0292
commit 0b704161e6

View File

@ -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.