C# Class Valve.Steamworks.CSteamHTTP

Inheritance: ISteamHTTP
Afficher le fichier Open project: kronosaur/Transcendence

Méthodes publiques

Méthode 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

Méthode Description
CheckIfUsable ( ) : void

Method Details

CSteamHTTP() public méthode

public CSteamHTTP ( IntPtr SteamHTTP )
SteamHTTP System.IntPtr

CreateCookieContainer() public méthode

public CreateCookieContainer ( bool bAllowResponsesToModify ) : uint
bAllowResponsesToModify bool
Résultat uint

CreateHTTPRequest() public méthode

public CreateHTTPRequest ( uint eHTTPRequestMethod, string pchAbsoluteURL ) : uint
eHTTPRequestMethod uint
pchAbsoluteURL string
Résultat uint

DeferHTTPRequest() public méthode

public DeferHTTPRequest ( uint hRequest ) : bool
hRequest uint
Résultat bool

GetHTTPDownloadProgressPct() public méthode

public GetHTTPDownloadProgressPct ( uint hRequest, float &pflPercentOut ) : bool
hRequest uint
pflPercentOut float
Résultat bool

GetHTTPRequestWasTimedOut() public méthode

public GetHTTPRequestWasTimedOut ( uint hRequest, bool &pbWasTimedOut ) : bool
hRequest uint
pbWasTimedOut bool
Résultat bool

GetHTTPResponseBodyData() public méthode

public GetHTTPResponseBodyData ( uint hRequest, IntPtr pBodyDataBuffer, uint unBufferSize ) : bool
hRequest uint
pBodyDataBuffer System.IntPtr
unBufferSize uint
Résultat bool

GetHTTPResponseBodySize() public méthode

public GetHTTPResponseBodySize ( uint hRequest, uint &unBodySize ) : bool
hRequest uint
unBodySize uint
Résultat bool

GetHTTPResponseHeaderSize() public méthode

public GetHTTPResponseHeaderSize ( uint hRequest, string pchHeaderName, uint &unResponseHeaderSize ) : bool
hRequest uint
pchHeaderName string
unResponseHeaderSize uint
Résultat bool

GetHTTPResponseHeaderValue() public méthode

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

GetHTTPStreamingResponseBodyData() public méthode

public GetHTTPStreamingResponseBodyData ( uint hRequest, uint cOffset, IntPtr pBodyDataBuffer, uint unBufferSize ) : bool
hRequest uint
cOffset uint
pBodyDataBuffer System.IntPtr
unBufferSize uint
Résultat bool

GetIntPtr() public méthode

public GetIntPtr ( ) : IntPtr
Résultat System.IntPtr

PrioritizeHTTPRequest() public méthode

public PrioritizeHTTPRequest ( uint hRequest ) : bool
hRequest uint
Résultat bool

ReleaseCookieContainer() public méthode

public ReleaseCookieContainer ( uint hCookieContainer ) : bool
hCookieContainer uint
Résultat bool

ReleaseHTTPRequest() public méthode

public ReleaseHTTPRequest ( uint hRequest ) : bool
hRequest uint
Résultat bool

SendHTTPRequest() public méthode

public SendHTTPRequest ( uint hRequest, ulong &pCallHandle ) : bool
hRequest uint
pCallHandle ulong
Résultat bool

SendHTTPRequestAndStreamResponse() public méthode

public SendHTTPRequestAndStreamResponse ( uint hRequest, ulong &pCallHandle ) : bool
hRequest uint
pCallHandle ulong
Résultat bool

SetCookie() public méthode

public SetCookie ( uint hCookieContainer, string pchHost, string pchUrl, string pchCookie ) : bool
hCookieContainer uint
pchHost string
pchUrl string
pchCookie string
Résultat bool

SetHTTPRequestAbsoluteTimeoutMS() public méthode

public SetHTTPRequestAbsoluteTimeoutMS ( uint hRequest, uint unMilliseconds ) : bool
hRequest uint
unMilliseconds uint
Résultat bool

SetHTTPRequestContextValue() public méthode

public SetHTTPRequestContextValue ( uint hRequest, ulong ulContextValue ) : bool
hRequest uint
ulContextValue ulong
Résultat bool

SetHTTPRequestCookieContainer() public méthode

public SetHTTPRequestCookieContainer ( uint hRequest, uint hCookieContainer ) : bool
hRequest uint
hCookieContainer uint
Résultat bool

SetHTTPRequestGetOrPostParameter() public méthode

public SetHTTPRequestGetOrPostParameter ( uint hRequest, string pchParamName, string pchParamValue ) : bool
hRequest uint
pchParamName string
pchParamValue string
Résultat bool

SetHTTPRequestHeaderValue() public méthode

public SetHTTPRequestHeaderValue ( uint hRequest, string pchHeaderName, string pchHeaderValue ) : bool
hRequest uint
pchHeaderName string
pchHeaderValue string
Résultat bool

SetHTTPRequestNetworkActivityTimeout() public méthode

public SetHTTPRequestNetworkActivityTimeout ( uint hRequest, uint unTimeoutSeconds ) : bool
hRequest uint
unTimeoutSeconds uint
Résultat bool

SetHTTPRequestRawPostBody() public méthode

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

SetHTTPRequestRequiresVerifiedCertificate() public méthode

public SetHTTPRequestRequiresVerifiedCertificate ( uint hRequest, bool bRequireVerifiedCertificate ) : bool
hRequest uint
bRequireVerifiedCertificate bool
Résultat bool

SetHTTPRequestUserAgentInfo() public méthode

public SetHTTPRequestUserAgentInfo ( uint hRequest, string pchUserAgentInfo ) : bool
hRequest uint
pchUserAgentInfo string
Résultat bool