package
2.0.0+incompatible
Repository: https://github.com/unitytech/client-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Handshake performs a subprotocol negotiation.
IsUpgradeRequest returns true if the given request is a connection upgrade request.
NoOpNewStreamHandler is a stream handler that accepts a new stream and performs no other logic.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Connection represents an upgraded HTTP connection.
Dialer knows how to open a streaming connection to a server.
ResponseUpgrader knows how to upgrade HTTP requests and responses to add streaming support to them.
Stream represents a bidirectional communications channel that is part of an upgraded connection.
UpgradeRoundTripper is a type of http.RoundTripper that is able to upgrade HTTP requests to support multiplexed bidirectional streams.
# Type aliases
NewStreamHandler defines a function that is called when a new Stream is received.