Versions in this module Expand all Collapse all v1 v1.0.0 Oct 10, 2023 Changes in this version + const PingPeriodContextKey + func IsWebSocketUpgrade(req *http.Request) bool + func NewResponseHeader(req *http.Request) http.Header + type Conn struct + func NewConn(ctx context.Context, rw io.ReadWriter, log *zerolog.Logger) *Conn + func (c *Conn) Close() + func (c *Conn) Read(reader []byte) (int, error) + func (c *Conn) Write(p []byte) (int, error) + type GorillaConn struct + func (c *GorillaConn) Read(p []byte) (int, error) + func (c *GorillaConn) SetDeadline(t time.Time) error + func (c *GorillaConn) Write(p []byte) (int, error) + type PingPeriodContext string