Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions | Public Attributes
RakNet::HTTPConnection::BadResponse Struct Reference

Encapsulates a raw HTTP response and response code.

#include <HTTPConnection.h>

List of all members.

Public Member Functions

 BadResponse ()
 BadResponse (const unsigned char *_data, int _code)
 BadResponse (const char *_data, int _code)
 operator int () const

Public Attributes

int code
RakNet::RakString data

Detailed Description

Definition at line 96 of file HTTPConnection.h.


Constructor & Destructor Documentation

RakNet::HTTPConnection::BadResponse::BadResponse ( ) [inline]

Definition at line 99 of file HTTPConnection.h.

{code=0;}
RakNet::HTTPConnection::BadResponse::BadResponse ( const unsigned char *  _data,
int  _code 
) [inline]

Definition at line 101 of file HTTPConnection.h.

            : data((const char *)_data), code(_code) {}
RakNet::HTTPConnection::BadResponse::BadResponse ( const char *  _data,
int  _code 
) [inline]

Definition at line 104 of file HTTPConnection.h.

            : data(_data), code(_code) {}

Member Function Documentation

RakNet::HTTPConnection::BadResponse::operator int ( ) const [inline]

Definition at line 107 of file HTTPConnection.h.

{ return code; }

Member Data Documentation

Definition at line 110 of file HTTPConnection.h.

Definition at line 109 of file HTTPConnection.h.


The documentation for this struct was generated from the following file:

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net