C# Class Valve.Steamworks.CSteamHTTP

Inheritance: ISteamHTTP
Show file Open project: kronosaur/Transcendence

Public Methods

Method Description
CSteamHTTP ( IntPtr SteamHTTP )
CreateCookieContainer ( bool bAllowResponsesToModify ) : uint
CreateHTTPRequest ( uint eHTTPRequestMethod, string pchAbsoluteURL ) : uint
DeferHTTPRequest ( uint hRequest ) : bool
GetHTTPDownloadProgressPct ( uint hRequest, float &pflPercentOut ) : bool
GetHTTPRequestWasTimedOut ( uint hRequest, bool &pbWasTimedOut ) : bool
GetHTTPResponseBodyData ( uint hRequest, IntPtr pBodyDataBuffer, uint unBufferSize ) : bool
GetHTTPResponseBodySize ( uint hRequest, uint &unBodySize ) : bool
GetHTTPResponseHeaderSize ( uint hRequest, string pchHeaderName, uint &unResponseHeaderSize ) : bool
GetHTTPResponseHeaderValue ( uint hRequest, string pchHeaderName, IntPtr pHeaderValueBuffer, uint unBufferSize ) : bool
GetHTTPStreamingResponseBodyData ( uint hRequest, uint cOffset, IntPtr pBodyDataBuffer, uint unBufferSize ) : bool
GetIntPtr ( ) : IntPtr
PrioritizeHTTPRequest ( uint hRequest ) : bool
ReleaseCookieContainer ( uint hCookieContainer ) : bool
ReleaseHTTPRequest ( uint hRequest ) : bool
SendHTTPRequest ( uint hRequest, ulong &pCallHandle ) : bool
SendHTTPRequestAndStreamResponse ( uint hRequest, ulong &pCallHandle ) : bool
SetCookie ( uint hCookieContainer, string pchHost, string pchUrl, string pchCookie ) : bool
SetHTTPRequestAbsoluteTimeoutMS ( uint hRequest, uint unMilliseconds ) : bool
SetHTTPRequestContextValue ( uint hRequest, ulong ulContextValue ) : bool
SetHTTPRequestCookieContainer ( uint hRequest, uint hCookieContainer ) : bool
SetHTTPRequestGetOrPostParameter ( uint hRequest, string pchParamName, string pchParamValue ) : bool
SetHTTPRequestHeaderValue ( uint hRequest, string pchHeaderName, string pchHeaderValue ) : bool
SetHTTPRequestNetworkActivityTimeout ( uint hRequest, uint unTimeoutSeconds ) : bool
SetHTTPRequestRawPostBody ( uint hRequest, string pchContentType, IntPtr pubBody, uint unBodyLen ) : bool
SetHTTPRequestRequiresVerifiedCertificate ( uint hRequest, bool bRequireVerifiedCertificate ) : bool
SetHTTPRequestUserAgentInfo ( uint hRequest, string pchUserAgentInfo ) : bool

Private Methods

Method Description
CheckIfUsable ( ) : void

Method Details

CSteamHTTP() public method

public CSteamHTTP ( IntPtr SteamHTTP )
SteamHTTP System.IntPtr

CreateCookieContainer() public method

public CreateCookieContainer ( bool bAllowResponsesToModify ) : uint
bAllowResponsesToModify bool
return uint

CreateHTTPRequest() public method

public CreateHTTPRequest ( uint eHTTPRequestMethod, string pchAbsoluteURL ) : uint
eHTTPRequestMethod uint
pchAbsoluteURL string
return uint

DeferHTTPRequest() public method

public DeferHTTPRequest ( uint hRequest ) : bool
hRequest uint
return bool

GetHTTPDownloadProgressPct() public method

public GetHTTPDownloadProgressPct ( uint hRequest, float &pflPercentOut ) : bool
hRequest uint
pflPercentOut float
return bool

GetHTTPRequestWasTimedOut() public method

public GetHTTPRequestWasTimedOut ( uint hRequest, bool &pbWasTimedOut ) : bool
hRequest uint
pbWasTimedOut bool
return bool

GetHTTPResponseBodyData() public method

public GetHTTPResponseBodyData ( uint hRequest, IntPtr pBodyDataBuffer, uint unBufferSize ) : bool
hRequest uint
pBodyDataBuffer System.IntPtr
unBufferSize uint
return bool

GetHTTPResponseBodySize() public method

public GetHTTPResponseBodySize ( uint hRequest, uint &unBodySize ) : bool
hRequest uint
unBodySize uint
return bool

GetHTTPResponseHeaderSize() public method

public GetHTTPResponseHeaderSize ( uint hRequest, string pchHeaderName, uint &unResponseHeaderSize ) : bool
hRequest uint
pchHeaderName string
unResponseHeaderSize uint
return bool

GetHTTPResponseHeaderValue() public method

public GetHTTPResponseHeaderValue ( uint hRequest, string pchHeaderName, IntPtr pHeaderValueBuffer, uint unBufferSize ) : bool
hRequest uint
pchHeaderName string
pHeaderValueBuffer System.IntPtr
unBufferSize uint
return bool

GetHTTPStreamingResponseBodyData() public method

public GetHTTPStreamingResponseBodyData ( uint hRequest, uint cOffset, IntPtr pBodyDataBuffer, uint unBufferSize ) : bool
hRequest uint
cOffset uint
pBodyDataBuffer System.IntPtr
unBufferSize uint
return bool

GetIntPtr() public method

public GetIntPtr ( ) : IntPtr
return System.IntPtr

PrioritizeHTTPRequest() public method

public PrioritizeHTTPRequest ( uint hRequest ) : bool
hRequest uint
return bool

ReleaseCookieContainer() public method

public ReleaseCookieContainer ( uint hCookieContainer ) : bool
hCookieContainer uint
return bool

ReleaseHTTPRequest() public method

public ReleaseHTTPRequest ( uint hRequest ) : bool
hRequest uint
return bool

SendHTTPRequest() public method

public SendHTTPRequest ( uint hRequest, ulong &pCallHandle ) : bool
hRequest uint
pCallHandle ulong
return bool

SendHTTPRequestAndStreamResponse() public method

public SendHTTPRequestAndStreamResponse ( uint hRequest, ulong &pCallHandle ) : bool
hRequest uint
pCallHandle ulong
return bool

SetCookie() public method

public SetCookie ( uint hCookieContainer, string pchHost, string pchUrl, string pchCookie ) : bool
hCookieContainer uint
pchHost string
pchUrl string
pchCookie string
return bool

SetHTTPRequestAbsoluteTimeoutMS() public method

public SetHTTPRequestAbsoluteTimeoutMS ( uint hRequest, uint unMilliseconds ) : bool
hRequest uint
unMilliseconds uint
return bool

SetHTTPRequestContextValue() public method

public SetHTTPRequestContextValue ( uint hRequest, ulong ulContextValue ) : bool
hRequest uint
ulContextValue ulong
return bool

SetHTTPRequestCookieContainer() public method

public SetHTTPRequestCookieContainer ( uint hRequest, uint hCookieContainer ) : bool
hRequest uint
hCookieContainer uint
return bool

SetHTTPRequestGetOrPostParameter() public method

public SetHTTPRequestGetOrPostParameter ( uint hRequest, string pchParamName, string pchParamValue ) : bool
hRequest uint
pchParamName string
pchParamValue string
return bool

SetHTTPRequestHeaderValue() public method

public SetHTTPRequestHeaderValue ( uint hRequest, string pchHeaderName, string pchHeaderValue ) : bool
hRequest uint
pchHeaderName string
pchHeaderValue string
return bool

SetHTTPRequestNetworkActivityTimeout() public method

public SetHTTPRequestNetworkActivityTimeout ( uint hRequest, uint unTimeoutSeconds ) : bool
hRequest uint
unTimeoutSeconds uint
return bool

SetHTTPRequestRawPostBody() public method

public SetHTTPRequestRawPostBody ( uint hRequest, string pchContentType, IntPtr pubBody, uint unBodyLen ) : bool
hRequest uint
pchContentType string
pubBody System.IntPtr
unBodyLen uint
return bool

SetHTTPRequestRequiresVerifiedCertificate() public method

public SetHTTPRequestRequiresVerifiedCertificate ( uint hRequest, bool bRequireVerifiedCertificate ) : bool
hRequest uint
bRequireVerifiedCertificate bool
return bool

SetHTTPRequestUserAgentInfo() public method

public SetHTTPRequestUserAgentInfo ( uint hRequest, string pchUserAgentInfo ) : bool
hRequest uint
pchUserAgentInfo string
return bool