libtasks Documentation  1.6
tasks::net Namespace Reference

Classes

class  acceptor
 
class  http_base
 
class  http_request
 The HTTP request implementation. More...
 
class  http_response
 The HTTP response implementation. More...
 
class  http_response_handler
 
class  http_sender
 
class  socket
 The socket class. More...
 
class  uwsgi_request
 The uwsgi protocol implementation for a request. The response is a HTTP/1.1 response. More...
 
class  uwsgi_task
 The base class for the uwsgi protocol implementation. More...
 
class  uwsgi_thrift_async_handler
 
class  uwsgi_thrift_async_processor
 
class  uwsgi_thrift_handler
 
class  uwsgi_thrift_processor
 
class  uwsgi_thrift_transport
 

Typedefs

typedef tasks_exception socket_exception
 
typedef tasks_exception http_exception
 

Enumerations

enum  io_state : uint8_t {
  io_state::READY, io_state::DONE, io_state::READ_HEADER, io_state::READ_DATA,
  io_state::READ_CONTENT, io_state::WRITE_DATA, io_state::WRITE_CONTENT
}
 
enum  socket_type { socket_type::TCP, socket_type::UDP }
 
enum  uwsgi_packet_type : uint8_t { UWSGI_VARS = 0 }
 

Functions

struct __attribute__ ((__packed__)) uwsgi_packet_header
 

Typedef Documentation

Definition at line 121 of file tasks_exception.h.

Enumeration Type Documentation

enum tasks::net::io_state : uint8_t
strong
Enumerator
READY 
DONE 
READ_HEADER 
READ_DATA 
READ_CONTENT 
WRITE_DATA 
WRITE_CONTENT 

Definition at line 14 of file io_state.h.

Enumerator
TCP 
UDP 

Definition at line 32 of file socket.h.

Enumerator
UWSGI_VARS 

Definition at line 14 of file uwsgi_structs.h.

Function Documentation

struct tasks::net::__attribute__ ( (__packed__)  )

Definition at line 16 of file uwsgi_structs.h.