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

Function WithKeyLogWriter

options.go:461–467  ·  view source on GitHub ↗

WithKeyLogWriter sets the key log writer for debugging. Use of KeyLogWriter compromises security and should only be used for debugging.

(writer io.Writer)

Source from the content-addressed store, hash-verified

459// WithKeyLogWriter sets the key log writer for debugging.
460// Use of KeyLogWriter compromises security and should only be used for debugging.
461func WithKeyLogWriter(writer io.Writer) Option {
462 return sharedOption(func(c *dtlsConfig) error {
463 c.keyLogWriter = writer
464
465 return nil
466 })
467}
468
469// WithSessionStore sets the session store for resumption.
470func WithSessionStore(store SessionStore) Option {

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…