MCPcopy
hub / github.com/gofiber/fiber / SetTLSHandler

Method SetTLSHandler

app.go:911–916  ·  view source on GitHub ↗

SetTLSHandler Can be used to set ClientHelloInfo when using TLS with Listener.

(tlsHandler *TLSHandler)

Source from the content-addressed store, hash-verified

909
910// SetTLSHandler Can be used to set ClientHelloInfo when using TLS with Listener.
911func (app *App) SetTLSHandler(tlsHandler *TLSHandler) {
912 // Attach the tlsHandler to the config
913 app.mutex.Lock()
914 app.tlsHandler = tlsHandler
915 app.mutex.Unlock()
916}
917
918// Name Assign name to specific route.
919func (app *App) Name(name string) Router {

Callers 2

ListenMethod · 0.95
Test_App_SetTLSHandlerFunction · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by 1

Test_App_SetTLSHandlerFunction · 0.64