MCPcopy Create free account
hub / github.com/coder/coder / CloseIdleConnections

Method CloseIdleConnections

codersdk/client.go:680–687  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

678}
679
680func (h *HeaderTransport) CloseIdleConnections() {
681 type closeIdler interface {
682 CloseIdleConnections()
683 }
684 if tr, ok := h.Transport.(closeIdler); ok {
685 tr.CloseIdleConnections()
686 }
687}
688
689// ClientOptions
690

Callers

nothing calls this directly

Calls 1

CloseIdleConnectionsMethod · 0.65

Tested by

no test coverage detected