We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdd080a commit ab39e09Copy full SHA for ab39e09
server/server.go
@@ -44,7 +44,8 @@ type StartSettings struct {
44
TLSConfig *tls.Config
45
46
// HTTPMiddlewareFunc specifies middleware for HTTP messages received by the server.
47
- // This function is optional to set.
+ // Note that the function will be called once for websockets upon connecting and will
48
+ // be called for every HTTP request. This function is optional to set.
49
HTTPMiddlewareFunc func(handlerFunc http.HandlerFunc) http.HandlerFunc
50
}
51
0 commit comments