Documentation ¶
Overview ¶
Package httpu implements a HTTP(M)U client as specified in the IETF draft "Multicast and Unicast UDP HTTP Messages".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a HTTP(M)U client instance.
func New ¶
New creates a new HTTP(M)U client instance that will bind to "0.0.0.0:localPort" when making outgoing requests. Note that the UDP socket is re-initialized after each request to try to flush out the receive buffer.
Click to show internal directories.
Click to hide internal directories.