MCPcopy
hub / github.com/cloudflare/cloudflared / CloudflaredServer

Struct CloudflaredServer

tunnelrpc/quic/cloudflared_server.go:19–24  ·  view source on GitHub ↗

CloudflaredServer provides a handler interface for a client to provide methods to handle the different types of requests that can be communicated by the stream.

Source from the content-addressed store, hash-verified

17// CloudflaredServer provides a handler interface for a client to provide methods to handle the different types of
18// requests that can be communicated by the stream.
19type CloudflaredServer struct {
20 handleRequest HandleRequestFunc
21 sessionManager pogs.SessionManager
22 configManager pogs.ConfigurationManager
23 responseTimeout time.Duration
24}
25
26func NewCloudflaredServer(handleRequest HandleRequestFunc, sessionManager pogs.SessionManager, configManager pogs.ConfigurationManager, responseTimeout time.Duration) *CloudflaredServer {
27 return &CloudflaredServer{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected