ApiClientGet(String, Stream, String, String, ApiClientInProgressEventHandler, Int32, String) Method
Performs a GET HTTP request using
HttpWebRequest to the specified URL.
Namespace: SMath.Manager.NetworkAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.2.9018.0
public static HttpStatusCode Get(
string url,
Stream responseStream,
string authorizationValue,
string accept,
ApiClientInProgressEventHandler progress,
int maxTimeout,
string userAgent
)
Public Shared Function Get (
url As String,
responseStream As Stream,
authorizationValue As String,
accept As String,
progress As ApiClientInProgressEventHandler,
maxTimeout As Integer,
userAgent As String
) As HttpStatusCode
public:
static HttpStatusCode Get(
String^ url,
Stream^ responseStream,
String^ authorizationValue,
String^ accept,
ApiClientInProgressEventHandler^ progress,
int maxTimeout,
String^ userAgent
)
static member Get :
url : string *
responseStream : Stream *
authorizationValue : string *
accept : string *
progress : ApiClientInProgressEventHandler *
maxTimeout : int *
userAgent : string -> HttpStatusCode
- url String
- Url to perform request to.
- responseStream Stream
- Stream the response from server is written to.
- authorizationValue String
- JWT authorization token. Unathenticated request is performed if parameter is empty.
- accept String
- MIME type of the accepted response from server.
- progress ApiClientInProgressEventHandler
- Delegate raised on download progress changed.
- maxTimeout Int32
- Maximum request timeout to wait for.
- userAgent String
- User agent string.
HttpStatusCodeHttpStatusCodeHttpStatusCode of the response.