MCPcopy Index your code
hub / github.com/coder/coder / SetDERPForceWebSockets

Method SetDERPForceWebSockets

tailnet/conn.go:524–527  ·  view source on GitHub ↗
(v bool)

Source from the content-addressed store, hash-verified

522}
523
524func (c *Conn) SetDERPForceWebSockets(v bool) {
525 c.logger.Info(context.Background(), "setting DERP Force Websockets", slog.F("force_derp_websockets", v))
526 c.magicConn.SetDERPForceWebsockets(v)
527}
528
529// SetBlockEndpoints sets whether to block P2P endpoints. This setting
530// will only apply to new peers.

Callers 1

createOrUpdateNetworkMethod · 0.80

Implementers 1

fakeConnvpn/tunnel_internal_test.go

Calls 1

InfoMethod · 0.45

Tested by

no test coverage detected