Photon Plugins API Documentation v5.0RC1

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

◆ Accept

string Photon.Hive.Plugin.HttpRequest.Accept

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

◆ Async

bool Photon.Hive.Plugin.HttpRequest.Async

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

◆ Callback

HttpRequestCallback Photon.Hive.Plugin.HttpRequest.Callback

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

◆ ContentType

string Photon.Hive.Plugin.HttpRequest.ContentType

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

◆ CustomHeaders

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

Key/Value strings: custom HTTP headers.

◆ DataStream

MemoryStream Photon.Hive.Plugin.HttpRequest.DataStream

HTTP request body data.

◆ Headers

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

Default predefined HTTP headers.

◆ Method

string Photon.Hive.Plugin.HttpRequest.Method

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

◆ Url

string Photon.Hive.Plugin.HttpRequest.Url

HTTP query absolute URL path.

◆ UserState

object Photon.Hive.Plugin.HttpRequest.UserState