C# Класс Valve.Steamworks.CSteamHTTP

Наследование: ISteamHTTP
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CheckIfUsable ( ) : void

Описание методов

CSteamHTTP() публичный Метод

public CSteamHTTP ( IntPtr SteamHTTP )
SteamHTTP System.IntPtr

CreateCookieContainer() публичный Метод

public CreateCookieContainer ( bool bAllowResponsesToModify ) : uint
bAllowResponsesToModify bool
Результат uint

CreateHTTPRequest() публичный Метод

public CreateHTTPRequest ( uint eHTTPRequestMethod, string pchAbsoluteURL ) : uint
eHTTPRequestMethod uint
pchAbsoluteURL string
Результат uint

DeferHTTPRequest() публичный Метод

public DeferHTTPRequest ( uint hRequest ) : bool
hRequest uint
Результат bool

GetHTTPDownloadProgressPct() публичный Метод

public GetHTTPDownloadProgressPct ( uint hRequest, float &pflPercentOut ) : bool
hRequest uint
pflPercentOut float
Результат bool

GetHTTPRequestWasTimedOut() публичный Метод

public GetHTTPRequestWasTimedOut ( uint hRequest, bool &pbWasTimedOut ) : bool
hRequest uint
pbWasTimedOut bool
Результат bool

GetHTTPResponseBodyData() публичный Метод

public GetHTTPResponseBodyData ( uint hRequest, IntPtr pBodyDataBuffer, uint unBufferSize ) : bool
hRequest uint
pBodyDataBuffer System.IntPtr
unBufferSize uint
Результат bool

GetHTTPResponseBodySize() публичный Метод

public GetHTTPResponseBodySize ( uint hRequest, uint &unBodySize ) : bool
hRequest uint
unBodySize uint
Результат bool

GetHTTPResponseHeaderSize() публичный Метод

public GetHTTPResponseHeaderSize ( uint hRequest, string pchHeaderName, uint &unResponseHeaderSize ) : bool
hRequest uint
pchHeaderName string
unResponseHeaderSize uint
Результат bool

GetHTTPResponseHeaderValue() публичный Метод

public GetHTTPResponseHeaderValue ( uint hRequest, string pchHeaderName, IntPtr pHeaderValueBuffer, uint unBufferSize ) : bool
hRequest uint
pchHeaderName string
pHeaderValueBuffer System.IntPtr
unBufferSize uint
Результат bool

GetHTTPStreamingResponseBodyData() публичный Метод

public GetHTTPStreamingResponseBodyData ( uint hRequest, uint cOffset, IntPtr pBodyDataBuffer, uint unBufferSize ) : bool
hRequest uint
cOffset uint
pBodyDataBuffer System.IntPtr
unBufferSize uint
Результат bool

GetIntPtr() публичный Метод

public GetIntPtr ( ) : IntPtr
Результат System.IntPtr

PrioritizeHTTPRequest() публичный Метод

public PrioritizeHTTPRequest ( uint hRequest ) : bool
hRequest uint
Результат bool

ReleaseCookieContainer() публичный Метод

public ReleaseCookieContainer ( uint hCookieContainer ) : bool
hCookieContainer uint
Результат bool

ReleaseHTTPRequest() публичный Метод

public ReleaseHTTPRequest ( uint hRequest ) : bool
hRequest uint
Результат bool

SendHTTPRequest() публичный Метод

public SendHTTPRequest ( uint hRequest, ulong &pCallHandle ) : bool
hRequest uint
pCallHandle ulong
Результат bool

SendHTTPRequestAndStreamResponse() публичный Метод

public SendHTTPRequestAndStreamResponse ( uint hRequest, ulong &pCallHandle ) : bool
hRequest uint
pCallHandle ulong
Результат bool

SetCookie() публичный Метод

public SetCookie ( uint hCookieContainer, string pchHost, string pchUrl, string pchCookie ) : bool
hCookieContainer uint
pchHost string
pchUrl string
pchCookie string
Результат bool

SetHTTPRequestAbsoluteTimeoutMS() публичный Метод

public SetHTTPRequestAbsoluteTimeoutMS ( uint hRequest, uint unMilliseconds ) : bool
hRequest uint
unMilliseconds uint
Результат bool

SetHTTPRequestContextValue() публичный Метод

public SetHTTPRequestContextValue ( uint hRequest, ulong ulContextValue ) : bool
hRequest uint
ulContextValue ulong
Результат bool

SetHTTPRequestCookieContainer() публичный Метод

public SetHTTPRequestCookieContainer ( uint hRequest, uint hCookieContainer ) : bool
hRequest uint
hCookieContainer uint
Результат bool

SetHTTPRequestGetOrPostParameter() публичный Метод

public SetHTTPRequestGetOrPostParameter ( uint hRequest, string pchParamName, string pchParamValue ) : bool
hRequest uint
pchParamName string
pchParamValue string
Результат bool

SetHTTPRequestHeaderValue() публичный Метод

public SetHTTPRequestHeaderValue ( uint hRequest, string pchHeaderName, string pchHeaderValue ) : bool
hRequest uint
pchHeaderName string
pchHeaderValue string
Результат bool

SetHTTPRequestNetworkActivityTimeout() публичный Метод

public SetHTTPRequestNetworkActivityTimeout ( uint hRequest, uint unTimeoutSeconds ) : bool
hRequest uint
unTimeoutSeconds uint
Результат bool

SetHTTPRequestRawPostBody() публичный Метод

public SetHTTPRequestRawPostBody ( uint hRequest, string pchContentType, IntPtr pubBody, uint unBodyLen ) : bool
hRequest uint
pchContentType string
pubBody System.IntPtr
unBodyLen uint
Результат bool

SetHTTPRequestRequiresVerifiedCertificate() публичный Метод

public SetHTTPRequestRequiresVerifiedCertificate ( uint hRequest, bool bRequireVerifiedCertificate ) : bool
hRequest uint
bRequireVerifiedCertificate bool
Результат bool

SetHTTPRequestUserAgentInfo() публичный Метод

public SetHTTPRequestUserAgentInfo ( uint hRequest, string pchUserAgentInfo ) : bool
hRequest uint
pchUserAgentInfo string
Результат bool