Documentation
¶
Index ¶
- func NewClient(timeout time.Duration, opts ClientOptions) (*http.Client, func(), error)
- func NewServer(addr string, handler http.Handler, certFile, keyFile string) (*http3.Server, error)
- func NewServerWithOptions(addr string, handler http.Handler, certFile, keyFile string, ...) (*http3.Server, error)
- func NewServerWithTLSConfig(addr string, handler http.Handler, tlsConfig *tls.Config) *http3.Server
- func NewServerWithTLSConfigAndOptions(addr string, handler http.Handler, tlsConfig *tls.Config, opts ServerOptions) *http3.Server
- type ClientOptions
- type ServerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerWithOptions ¶
func NewServerWithTLSConfig ¶
Types ¶
type ClientOptions ¶
type ServerOptions ¶
type ServerOptions struct {
MaxIncomingStreams int64
MaxIncomingUniStreams int64
InitialStreamReceiveWindow uint64
MaxStreamReceiveWindow uint64
InitialConnectionReceiveWindow uint64
MaxConnectionReceiveWindow uint64
}
ServerOptions는 HTTP/3 서버의 QUIC 수신 한도를 노출합니다. zero-value는 기존 quic-go 기본값을 그대로 사용합니다.
Click to show internal directories.
Click to hide internal directories.