Protocols
The following protocols are available globally.
-
A protocol that should be implemented by connection upgraders of other protocols like WebSocket. This protocol provides a common interface to the
See moreHTTPServer
to upgrade an incoming HTTP connection to the desired protocol.Declaration
Swift
public protocol ProtocolHandlerFactory
-
A common protocol for Kitura-net Servers
See moreDeclaration
Swift
public protocol Server
-
The protocol defining the delegate for the HTTPServer and the FastCGIServer classes. The delegate’s handle function is invoked when new requests arrive at the server for processing.
See moreDeclaration
Swift
public protocol ServerDelegate : AnyObject
-
A protocol for implementing a delegate to receive monitoring events from KituraNet.
See moreDeclaration
Swift
public protocol ServerMonitor
-
The ServerRequest protocol allows requests to be abstracted across different networking protocols in an agnostic way to the Kitura project Router.
See moreDeclaration
Swift
public protocol ServerRequest : AnyObject
-
The ServerResponse protocol allows responses to be abstracted across different networking protocols in an agnostic way to the Kitura project Router.
See moreDeclaration
Swift
public protocol ServerResponse : AnyObject