quicly

package module
v0.0.0-...-c694c44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(remoteAddr *net.UDPAddr, cb types.Callbacks, ctx context.Context) types.ClientSession

func Initialize

func Initialize(options Options) int

func Listen

func Listen(localAddr *net.UDPAddr, cb types.Callbacks, ctx context.Context) types.ServerSession

func Terminate

func Terminate()

Types

type Options

type Options struct {
	Logger *log.Logger

	IsClient             bool
	ApplicationProtocol  string
	CongestionAlgorithm  string
	CCSlowstartAlgorithm string
	CertificateFile      string
	CertificateKey       string
	IdleTimeoutMs        uint64

	TraceQuicly bool
}

func (Options) Get

func (o Options) Get() (bool, string, string, string, string, string, uint64, bool)

func (Options) String

func (o Options) String() string

Directories

Path Synopsis
internal
bindings
quicly-bindings
quicly-bindings
errors
quicly-errors
quicly-errors

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL