OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | Events | List of all members
OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext Class Reference
Inheritance diagram for OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext:
Collaboration graph
[legend]

Public Member Functions

 TestHttpClientContext (bool secured)
 
void Disconnect (SocketError error)
 
void Respond (string httpVersion, HttpStatusCode statusCode, string reason, string body)
 
void Respond (string httpVersion, HttpStatusCode statusCode, string reason)
 
void Respond (string body)
 
void Send (byte[] buffer)
 
void Send (byte[] buffer, int offset, int size)
 
void Respond (string httpVersion, HttpStatusCode statusCode, string reason, string body, string contentType)
 
void Close ()
 
HTTPNetworkContext GiveMeTheNetworkStreamIKnowWhatImDoing ()
 

Properties

bool IsSecured [get]
 
bool Secured [get]
 
bool EndWhenDone [get, set]
 
bool CanSend [get]
 
string RemoteEndPoint [get]
 
string RemoteEndPointAddress [get]
 
string RemoteEndPointPort [get]
 

Events

EventHandler
< DisconnectedEventArgs > 
Disconnected = delegate { }
 
EventHandler< RequestEventArgs > RequestReceived = delegate { }
 A request have been received in the context. More...
 

Detailed Description

Definition at line 46 of file OSHttpTests.cs.

Constructor & Destructor Documentation

OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.TestHttpClientContext ( bool  secured)
inline

Definition at line 58 of file OSHttpTests.cs.

Member Function Documentation

void OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Close ( )
inline

Definition at line 70 of file OSHttpTests.cs.

void OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Disconnect ( SocketError  error)
inline

Definition at line 63 of file OSHttpTests.cs.

HTTPNetworkContext OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.GiveMeTheNetworkStreamIKnowWhatImDoing ( )
inline

Definition at line 73 of file OSHttpTests.cs.

void OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Respond ( string  httpVersion,
HttpStatusCode  statusCode,
string  reason,
string  body 
)
inline

Definition at line 64 of file OSHttpTests.cs.

void OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Respond ( string  httpVersion,
HttpStatusCode  statusCode,
string  reason 
)
inline

Definition at line 65 of file OSHttpTests.cs.

void OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Respond ( string  body)
inline

Definition at line 66 of file OSHttpTests.cs.

void OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Respond ( string  httpVersion,
HttpStatusCode  statusCode,
string  reason,
string  body,
string  contentType 
)
inline

Definition at line 69 of file OSHttpTests.cs.

void OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Send ( byte[]  buffer)
inline

Definition at line 67 of file OSHttpTests.cs.

void OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Send ( byte[]  buffer,
int  offset,
int  size 
)
inline

Definition at line 68 of file OSHttpTests.cs.

Property Documentation

bool OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.CanSend
get

Definition at line 84 of file OSHttpTests.cs.

bool OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.EndWhenDone
getset

Definition at line 71 of file OSHttpTests.cs.

bool OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.IsSecured
get

Definition at line 50 of file OSHttpTests.cs.

string OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.RemoteEndPoint
get

Definition at line 85 of file OSHttpTests.cs.

string OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.RemoteEndPointAddress
get

Definition at line 86 of file OSHttpTests.cs.

string OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.RemoteEndPointPort
get

Definition at line 87 of file OSHttpTests.cs.

bool OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Secured
get

Definition at line 54 of file OSHttpTests.cs.

Event Documentation

EventHandler<DisconnectedEventArgs> OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.Disconnected = delegate { }

Definition at line 78 of file OSHttpTests.cs.

EventHandler<RequestEventArgs> OpenSim.Framework.Servers.Tests.OSHttpTests.TestHttpClientContext.RequestReceived = delegate { }

A request have been received in the context.

Definition at line 82 of file OSHttpTests.cs.


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