mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 08:26:26 +01:00
Update config.go
Former-commit-id: f61883e68b5138317c8451242545fa2006e5698b
This commit is contained in:
parent
da6f515078
commit
da224e363a
|
@ -77,9 +77,10 @@ type Config struct {
|
|||
// The request is an argument which you can use to generate the ID (from headers for example).
|
||||
// If empty then the ID is generated by DefaultIDGenerator: randomString(64)
|
||||
IDGenerator func(ctx *iris.Context) string
|
||||
/**
|
||||
List od subprotocols accepted by server
|
||||
*/
|
||||
// Subprotocols specifies the server's supported protocols in order of
|
||||
// preference. If this field is set, then the Upgrade method negotiates a
|
||||
// subprotocol by selecting the first match in this list with a protocol
|
||||
// requested by the client.
|
||||
Subprotocols []string
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user