WithSessionStore sets the session store for resumption.
(store SessionStore)
| 468 | |
| 469 | // WithSessionStore sets the session store for resumption. |
| 470 | func 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. |
nothing calls this directly
no test coverage detected
searching dependent graphs…