_request Struct Reference

This struct handles information related to and http response and includes information about client request, server response, url, server version .returned by an HTTP Server. More...

#include <HTTP.h>

Collaboration diagram for _request:

Collaboration graph
[legend]

Data Fields

char hostname [256]
int ip
int port
int NeedSSL
char url [512]
PHTTP_DATA request
PHTTP_DATA response
char * server
unsigned int status
unsigned int challenge

Detailed Description

This struct handles information related to and http response and includes information about client request, server response, url, server version .returned by an HTTP Server.

Definition at line 112 of file HTTP.h.


Field Documentation

char _request::hostname[256]

hostname of the server. This is related to the vhost parameter. If no vhost is specified, hostname contains the ip address.

Definition at line 114 of file HTTP.h.

int _request::ip

remote HTTP ip address.

Definition at line 116 of file HTTP.h.

int _request::port

remote HTTP port. This value is obtained from the InitHTTPConnectionHandle()

Definition at line 118 of file HTTP.h.

int _request::NeedSSL

Boolean value. If this parameter is 1 then the connection is handled by openssl otherwise is just a tcp connection

Definition at line 120 of file HTTP.h.

char _request::url[512]

path to the file or directory requested

Definition at line 122 of file HTTP.h.

Referenced by SendHttpRequest().

PHTTP_DATA _request::request

Information related to the HTTP Request. This struct contains both client headers and postdata

Definition at line 124 of file HTTP.h.

Referenced by FreeRequest().

PHTTP_DATA _request::response

Information related to the HTTP response. This struct contains both server headers and data

Definition at line 126 of file HTTP.h.

Referenced by FreeRequest(), and SendHttpRequest().

char* _request::server

pointer to a string that contains the server banner from the remote http server

Definition at line 128 of file HTTP.h.

Referenced by FreeRequest().

unsigned int _request::status

status code returned by the HTTP server. Example: "200", for an STATUS OK response.

Definition at line 130 of file HTTP.h.

Referenced by SendHttpRequest().

unsigned int _request::challenge

Definition at line 131 of file HTTP.h.

Referenced by SendHttpRequest().


The documentation for this struct was generated from the following file:
Generated on Sun Jan 18 00:32:04 2009 for Fast HTTP Vulnerability Scanner by  doxygen 1.5.4