We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b73d503 commit 5093ec6Copy full SHA for 5093ec6
websocketproxy.go
@@ -32,12 +32,12 @@ type WebsocketProxy struct {
32
// unmodified request.
33
Backend func(*http.Request) *url.URL
34
35
- // Upgrader specifies the parameters for upgrading an HTTP connection to a
36
- // WebSocket connection. If nil, DefaultUpgrader is used.
+ // Upgrader specifies the parameters for upgrading a incoming HTTP
+ // connection to a WebSocket connection. If nil, DefaultUpgrader is used.
37
Upgrader *websocket.Upgrader
38
39
- // Dialer contains options for connecting to WebSocket server. If nil,
40
- // DefaultDialer is used.
+ // Dialer contains options for connecting to the backend WebSocket server.
+ // If nil, DefaultDialer is used.
41
Dialer *websocket.Dialer
42
}
43
0 commit comments