MCPcopy Create free account
hub / github.com/pion/dtls / WithSessionStore

Function WithSessionStore

options.go:470–476  ·  view source on GitHub ↗

WithSessionStore sets the session store for resumption.

(store SessionStore)

Source from the content-addressed store, hash-verified

468
469// WithSessionStore sets the session store for resumption.
470func WithSessionStore(store SessionStore) Option {
471 return sharedOption(func(c *dtlsConfig) error {
472 c.sessionStore = store
473
474 return nil
475 })
476}
477
478// WithSupportedProtocols sets the supported application protocols for ALPN.
479// For functional options, an explicitly empty slice is not allowed.

Callers

nothing calls this directly

Calls 1

sharedOptionFuncType · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…