Knut servers (knut.server)

The server provide the interface for various clients to communicate with the knut.apis.

Each server must subclass the KnutServer which provides the interface to the APIs.

The base server and helper classes:

KnutServer(address, port)

Base class for Knut servers.

tcpserver.KnutTCPRequestHandler(request, …)

Request handler for the KnutTCPServer.

The following servers are provided by this module:

tcpserver.KnutTCPServer([address, port])

Knut TCP socket server.

websocket.KnutWebSocket(address, port)

WebSocket for Knut.