Documentation ¶
Index ¶
- Constants
- type Client
- type ConnPassTrough
- func (u ConnPassTrough) Read(b []byte) (int, error)
- func (u ConnPassTrough) ReadFrom(b []byte) (int, net.Addr, error)
- func (u ConnPassTrough) ReadFromUDP(b []byte) (int, net.Addr, error)
- func (u ConnPassTrough) ReadMsgUDP(b []byte, oob []byte) (n int, oobn int, flags int, addr *net.UDPAddr, err error)
- func (u ConnPassTrough) Write(b []byte) (int, error)
- func (u ConnPassTrough) WriteMsgUDP(b []byte, oob []byte, addr *net.UDPAddr) (n int, oobn int, err error)
- func (u ConnPassTrough) WriteTo(b []byte, addr net.Addr) (int, error)
- func (u ConnPassTrough) WriteToUDP(b []byte, addr *net.UDPAddr) (int, error)
- type MulticastServer
- func (s *MulticastServer) ListenAndServeTLSKencastFolder(certFile, keyFile, addr, multiACKAddr string, kencastWriter *net.UDPConn, ...) error
- func (s *MulticastServer) ListenAndServeTLSMultiFolder(certFile, keyFile, addr, multiACKAddr, multiAddr string, ifat *net.Interface, ...) error
- func (s *MulticastServer) ServeFolder(conn *net.UDPConn, ackConn *net.UDPConn, folder chan string) error
- type PassThru
- type RoundTripper
Constants ¶
View Source
const MethodGet0RTT = "GET_0RTT"
MethodGet0RTT allows a GET request to be sent using 0-RTT. Note that 0-RTT data doesn't provide replay protection.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnPassTrough ¶ added in v0.30.1
func (ConnPassTrough) ReadFromUDP ¶ added in v0.30.1
func (ConnPassTrough) ReadMsgUDP ¶ added in v0.30.1
func (ConnPassTrough) WriteMsgUDP ¶ added in v0.30.1
func (ConnPassTrough) WriteToUDP ¶ added in v0.30.1
type MulticastServer ¶ added in v0.30.1
type MulticastServer struct { *http3.Server Multicast *http.Server QuicConfig *quic.Config RetransmissionQueue *quic.RetransmissionQueue RemoteAddr net.Addr // contains filtered or unexported fields }
Server is a mHTTP/3 Multicastserver.
func (*MulticastServer) ListenAndServeTLSKencastFolder ¶ added in v0.30.2
func (s *MulticastServer) ListenAndServeTLSKencastFolder(certFile, keyFile, addr, multiACKAddr string, kencastWriter *net.UDPConn, ifat *net.Interface, handler http.Handler, files chan string) error
ListenAndServeTLS listens on the UDP address s.Addr and calls s.Handler to handle HTTP/3 requests on incoming connections.
func (*MulticastServer) ListenAndServeTLSMultiFolder ¶ added in v0.30.1
func (s *MulticastServer) ListenAndServeTLSMultiFolder(certFile, keyFile, addr, multiACKAddr, multiAddr string, ifat *net.Interface, handler http.Handler, files chan string) error
ListenAndServeTLS listens on the UDP address s.Addr and calls s.Handler to handle HTTP/3 requests on incoming connections.
func (*MulticastServer) ServeFolder ¶ added in v0.30.1
func (s *MulticastServer) ServeFolder(conn *net.UDPConn, ackConn *net.UDPConn, folder chan string) error
Serve an existing UDP connection. It is possible to reuse the same connection for outgoing connections. Closing the server does not close the packet conn.
type PassThru ¶ added in v0.30.1
type RoundTripper ¶ added in v0.30.1
type RoundTripper struct { *http3.RoundTripper MultiAddr string Ifat *net.Interface // TLSClientConfig specifies the TLS configuration to use with // tls.Client. If nil, the default configuration is used. TLSClientConfig *tls.Config // QuicConfig is the quic.Config used for dialing new connections. // If nil, reasonable default values will be used. QuicConfig *quic.Config }
Click to show internal directories.
Click to hide internal directories.