Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kHttpServerChannel.h
Go to the documentation of this file.
1
10 #ifndef K_API_HTTP_SERVER_CHANNEL_H
11 #define K_API_HTTP_SERVER_CHANNEL_H
12
13 #include <kApi/Io/kNetwork.h>
14
21 //typedef kObject kHttpServerChannel; --forward-declared in kApiDef.x.h
22
30 kFx(kHttpServerRequest) kHttpServerChannel_Request(kHttpServerChannel channel);
31
39 kFx(kHttpServerResponse) kHttpServerChannel_Response(kHttpServerChannel channel);
40
58 kFx(kStatus) kHttpServerChannel_DetachClient(kHttpServerChannel channel, kTcpClient* client);
59
76 kFx(kStatus) kHttpServerChannel_ProcessWebSocketRequest(kHttpServerChannel channel, kBool shouldAccept, kWebSocket* webSocket);
77
78 #include <kApi/Io/kHttpServerChannel.x.h>
79
80 #endif
kHttpServerChannel::kHttpServerChannel_DetachClient
kStatus kHttpServerChannel_DetachClient(kHttpServerChannel channel, kTcpClient *client)
Transfers ownership of the underlying TCP client object associated with this channel.
kWebSocket
Represents a WebSocket.
kHttpServerChannel::kHttpServerChannel_ProcessWebSocketRequest
kStatus kHttpServerChannel_ProcessWebSocketRequest(kHttpServerChannel channel, kBool shouldAccept, kWebSocket *webSocket)
Processes a websocket request.
kHttpServerChannel::kHttpServerChannel_Request
kHttpServerRequest kHttpServerChannel_Request(kHttpServerChannel channel)
Accesses a kHttpServerRequest object that can be used to parse an incoming request.
kHttpServerChannel
Represents the server side of an HTTP connection.
kTcpClient
Represents a TCP client.
kHttpServerResponse
Supports HTTP server response formatting.
kNetwork.h
IP networking definitions.
kStatus
Represents an error code.
kHttpServerChannel::kHttpServerChannel_Response
kHttpServerResponse kHttpServerChannel_Response(kHttpServerChannel channel)
Accesses a kHttpServerResponse object that can be used to format an outgoing response.
kBool
Represents a boolean value.
kHttpServerRequest
Supports HTTP server request parsing.