|
| Http_Request (SOCKET sck, Socket_Address &inaddr) |
|
void | Abort () |
|
void | AppendToResponse (const std::string &in) |
|
bool | BuildPage (BufferedWriter_Growable &_writer, ParsedHttpRequest &parser) |
|
void | Finish () |
|
virtual TypeHandle | force_init_type () |
|
virtual TypeHandle | get_type () const |
|
const char * | GetOption (std::string in) |
|
std::string | GetRawRequest () |
|
std::string | GetRequestOptionString () |
|
std::string | GetRequestType () |
|
std::string | GetRequestURL () |
|
std::string | GetSourceAddress () |
|
bool | HasOption (std::string in) |
|
void | SendThisResponse (const std::string &in) |
|
CloseState | TryAndFinalize () |
|
| HttpConnection (SOCKET sck, Socket_Address &inaddr) |
|
int | DoReadBody (char *message, int buffersize, Time_Clock ¤tTime) |
|
int | DoReadHeader (char *message, int buffersize, Time_Clock ¤tTime) |
|
std::string | GetFullmessage () |
|
const Socket_Address & | GetMyAddress (void) |
|
CloseState | ProcessMessage (char *message, Time_Clock ¤tTime) |
|
int | ReadIt (char *message, int buffersize, Time_Clock ¤tTime) |
|
void | Reset () |
|
| Socket_TCP (SOCKET) |
|
bool | ActiveOpen (const Socket_Address &theaddress, bool setdelay) |
| This function will try and set the socket up for active open to a specified address and port provided by the input parameter. More...
|
|
bool | ActiveOpenNonBlocking (const Socket_Address &theaddress) |
| This function will try and set the socket up for active open to a specified address and port provided by the input parameter (non-blocking version) More...
|
|
int | DontLinger () |
| Turn off the linger flag. More...
|
|
bool | ErrorIs_WouldBlocking (int err) |
|
std::string | RecvData (int max_len) |
| Read the data from the connection. More...
|
|
int | RecvData (char *data, int size) |
| Read the data from the connection. More...
|
|
int | SendData (const std::string &str) |
|
int | SendData (const char *data, int size) |
| Ok Lets Send the Data. More...
|
|
int | SetLinger (int interval_seconds=0) |
| will control the behavior of SO_LINGER for a TCP socket More...
|
|
int | SetNoDelay (bool flag=true) |
| Disable Nagle algorithm. More...
|
|
int | SetSendBufferSize (int insize) |
| Just like it sounds. More...
|
|
bool | ShutdownSend () |
|
| Socket_IP () |
| Def Constructor. More...
|
|
| Socket_IP (SOCKET in) |
| Assigns an existing socket to this class. More...
|
|
virtual | ~Socket_IP () |
| Destructor. More...
|
|
bool | Active () |
| Ask if the socket is open (allocated) More...
|
|
void | Close () |
| closes a socket if it is open (allocated) More...
|
|
Socket_Address | GetPeerName (void) const |
| Wrapper on berkly getpeername... More...
|
|
SOCKET | GetSocket () |
| Gets the base socket type. More...
|
|
SOCKET | GetSocket () const |
| Get The RAW file id of the socket. More...
|
|
int | SetBlocking () |
| Set the socket to block on subsequent calls to socket functions that address this socket. More...
|
|
int | SetNonBlocking () |
| this function will throw a socket into non-blocking mode More...
|
|
int | SetRecvBufferSize (int size) |
| Ok it sets the recv buffer size for both tcp and UDP. More...
|
|
bool | SetReuseAddress (bool flag=true) |
| Informs a socket to reuse IP address as needed. More...
|
|
void | SetSocket (SOCKET ins) |
| Assigns an existing socket to this class. More...
|
|
| TypedObject (const TypedObject ©) |
|
TypedObject * | as_typed_object () |
| Returns the object, upcast (if necessary) to a TypedObject pointer. More...
|
|
const TypedObject * | as_typed_object () const |
| Returns the object, upcast (if necessary) to a TypedObject pointer. More...
|
|
int | get_best_parent_from_Set (const std::set< int > &) const |
|
int | get_type_index () const |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
|
|
bool | is_exact_type (TypeHandle handle) const |
| Returns true if the current object is the indicated type exactly. More...
|
|
bool | is_of_type (TypeHandle handle) const |
| Returns true if the current object is or derives from the indicated type. More...
|
|
void | operator= (const TypedObject ©) |
|
Definition at line 7 of file http_request.h.