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
15 kBeginHeader()
16
17
23 //typedef kObject kHttpServerChannel; --forward-declared in kApiDef.x.h
24
25
32 kFx(kHttpServerRequest) kHttpServerChannel_Request(kHttpServerChannel channel);
33
41 kFx(kHttpServerResponse) kHttpServerChannel_Response(kHttpServerChannel channel);
42
60 kFx(kStatus) kHttpServerChannel_DetachClient(kHttpServerChannel channel, kTcpClient* client);
61
62 kEndHeader()
63
64 #include <kApi/Io/kHttpServerChannel.x.h>
65
66 #endif
kHttpServerChannel::kHttpServerChannel_DetachClient
kStatus kHttpServerChannel_DetachClient(kHttpServerChannel channel, kTcpClient *client)
Transfers ownership of the underlying TCP client object associated with this channel.
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.
kHttpServerRequest
Supports HTTP server request parsing.