Class PvpHttpClient
Inheritance
PvpHttpClient
Assembly: PvpXray.dll
Syntax
public class PvpHttpClient : IPvpHttpClient
Constructors
PvpHttpClient(string, bool)
Declaration
public PvpHttpClient(string userAgent, bool cache)
Parameters
Methods
Get(string)
Perform a HTTP GET request to the given URL. Does not check HTTP status.
Declaration
public PvpHttpResponse Get(string url)
Parameters
Type |
Name |
Description |
string |
url |
|
Returns
Exceptions
Type |
Condition |
PvpHttpException |
A network or protocol error occurred when sending the request or reading the response,
or the response body exceeded MaxByteArrayLength bytes.
|
Implements
Extension Methods