#include <connection.h>
|
| Connection (IOLayer s, base::method::Bitset *allowed_method, ConnectionStatusCallbacks *connection_handler, CNO_CONNECTION_KIND kind) |
|
| ~Connection () override |
|
bool | send (const uint32_t *stream_id_ptr, const int status_code, const std::string &method, const std::string &path, const Headers &headers, const IOBuffer &data) override |
|
std::string | get_peer_address () const override |
|
uint16_t | get_peer_port () const override |
|
IOLayer & | get_socket () |
|
void | start () override |
|
virtual | ~ConnectionInterface () |
|
virtual | ~CnoInterface () |
|
virtual int | on_cno_message_head (const uint32_t session_id, const cno_message_t *message)=0 |
|
virtual int | on_cno_message_body (const uint32_t session_id, const char *data, const size_t size)=0 |
|
virtual int | on_cno_stream_end (const uint32_t id)=0 |
|
◆ ConnectionStatusCallbacks
template<typename IOLayer >
◆ Headers
template<typename IOLayer >
◆ IO
template<typename IOLayer >
◆ Methods
template<typename IOLayer >
◆ owned_buffer
template<typename IOLayer >
◆ ref_buffers
template<typename IOLayer >
◆ This
template<typename IOLayer >
◆ Connection()
template<typename IOLayer >
◆ ~Connection()
template<typename IOLayer >
◆ do_net_recv()
template<typename IOLayer >
◆ do_net_send()
template<typename IOLayer >
◆ get_peer_address()
template<typename IOLayer >
◆ get_peer_port()
template<typename IOLayer >
◆ get_socket()
template<typename IOLayer >
◆ on_cno_close()
template<typename IOLayer >
|
inlineoverrideprotectedvirtual |
◆ on_cno_message_tail()
template<typename IOLayer >
int http::base::Connection< IOLayer >::on_cno_message_tail |
( |
const uint32_t |
session_id, |
|
|
const cno_tail_t * |
tail |
|
) |
| |
|
inlineoverrideprotectedvirtual |
◆ on_cno_stream_start()
template<typename IOLayer >
|
inlineoverrideprotectedvirtual |
◆ on_cno_writev()
template<typename IOLayer >
|
inlineoverrideprotectedvirtual |
◆ on_net_receive()
template<typename IOLayer >
◆ on_net_send()
template<typename IOLayer >
◆ on_output_buffer_empty()
template<typename IOLayer >
◆ resume()
template<typename IOLayer >
◆ send()
template<typename IOLayer >
bool http::base::Connection< IOLayer >::send |
( |
const uint32_t * |
stream_id_ptr, |
|
|
const int |
status_code, |
|
|
const std::string & |
method, |
|
|
const std::string & |
path, |
|
|
const Headers & |
headers, |
|
|
const IOBuffer & |
data |
|
) |
| |
|
inlineoverridevirtual |
◆ start()
template<typename IOLayer >
◆ stop_running()
template<typename IOLayer >
Mark the connection that it should stop running.
- Returns
- information if the object may be delete
- Return values
-
'false' | Connection object can be removed immediately |
'true' | Connection object must wait until IO is finished. |
◆ suspend()
template<typename IOLayer >
◆ allowed_method_
template<typename IOLayer >
◆ cno_
template<typename IOLayer >
◆ connection_handler_
template<typename IOLayer >
◆ input_buffer_
template<typename IOLayer >
◆ input_mutable_buffer_
template<typename IOLayer >
◆ keep_alive_
template<typename IOLayer >
◆ output_buffer_mutex_
template<typename IOLayer >
◆ output_buffers_
template<typename IOLayer >
◆ output_pending_
template<typename IOLayer >
◆ processed_request_
template<typename IOLayer >
◆ running_
template<typename IOLayer >
◆ socket_
template<typename IOLayer >
◆ suspend_
template<typename IOLayer >
The documentation for this class was generated from the following file: