Documentation
¶
Index ¶
- type Manager
- type Session
- func (s *Session) Close()
- func (s *Session) Headers() http.Header
- func (s *Session) Host() string
- func (s *Session) LocalAddr() net.Addr
- func (s *Session) OnClose(callback func())
- func (s *Session) Receive(buf *bytes.Buffer, byteLimit int64) ([]byte, error)
- func (s *Session) ReceiveWithTimeout(t time.Duration, buf *bytes.Buffer, byteLimit int64) ([]byte, error)
- func (s *Session) RemoteAddr() net.Addr
- func (s *Session) Subprotocol() string
- func (s *Session) URI() string
- func (s *Session) Write(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) SetHandler ¶
func (*Manager) SetReadPoolSize ¶
func (*Manager) SetUpgradeTimeout ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) ReceiveWithTimeout ¶
func (*Session) RemoteAddr ¶
func (*Session) Subprotocol ¶
Click to show internal directories.
Click to hide internal directories.