Photon Plugins API Documentation
Public Attributes | List of all members
Photon.Hive.Plugin.HttpRequest Struct Reference

HTTP request to be sent. More...

Public Attributes

string Accept
 Accept HTTP header. Specifies what media types are expected from response. More...
 
HttpRequestCallback Callback
 Method that should be called when the HTTP response is received. More...
 
string ContentType
 ContentType HTTP header. Sets the type of the request's data. More...
 
MemoryStream DataStream
 HTTP request body data. More...
 
IDictionary< HttpRequestHeader, string > Headers
 Default predefined HTTP headers. More...
 
IDictionary< string, string > CustomHeaders
 Key/Value strings: custom HTTP headers. More...
 
string Method
 HTTP verb/method: e.g. GET, POST, PUT, DELETE, etc. More...
 
string Url
 HTTP query absolute URL path. More...
 
object UserState
 
bool Async
 Indicates whether the process of plugins fiber the should be blocked or not. More...
 

Detailed Description

HTTP request to be sent.

Member Data Documentation

string Photon.Hive.Plugin.HttpRequest.Accept

Accept HTTP header. Specifies what media types are expected from response.

bool Photon.Hive.Plugin.HttpRequest.Async

Indicates whether the process of plugins fiber the should be blocked or not.

HttpRequestCallback Photon.Hive.Plugin.HttpRequest.Callback

Method that should be called when the HTTP response is received.

string Photon.Hive.Plugin.HttpRequest.ContentType

ContentType HTTP header. Sets the type of the request's data.

IDictionary<string, string> Photon.Hive.Plugin.HttpRequest.CustomHeaders

Key/Value strings: custom HTTP headers.

MemoryStream Photon.Hive.Plugin.HttpRequest.DataStream

HTTP request body data.

IDictionary<HttpRequestHeader, string> Photon.Hive.Plugin.HttpRequest.Headers

Default predefined HTTP headers.

string Photon.Hive.Plugin.HttpRequest.Method

HTTP verb/method: e.g. GET, POST, PUT, DELETE, etc.

string Photon.Hive.Plugin.HttpRequest.Url

HTTP query absolute URL path.

object Photon.Hive.Plugin.HttpRequest.UserState