KiiCloudStorageSDK : KiiCorp.Cloud.Storage Namespace

KiiHttpClient Interface

Kii http client. All Http request should be called through this interface

Syntax

public interface KiiHttpClient

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Members

Public Properties

[write-only]
Accept string . Sets the Accept value.
[write-only]
Body string . Sets the body.
[write-only]
ContentType string . Sets the type of the content.
[read-only]
Headers KiiHttpHeaderList . Gets the headers.

Public Methods

Member Details

Accept Property

Sets the Accept value.

Syntax

public string Accept { set; }

Value

The accept.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Body Property

Sets the body.

Syntax

public string Body { set; }

Value

The body.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

ContentType Property

Sets the type of the content.

Syntax

public string ContentType { set; }

Value

The type of the content.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Headers Property

Gets the headers.

Syntax

public KiiHttpHeaderList Headers { get; }

Value

The headers.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

SendRequest Method

Sends the request.

Syntax

public ApiResponse SendRequest ()

Returns

The response.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

SendRequest Method

Sends the request.

Syntax

public void SendRequest (KiiHttpClientCallback callback)

Parameters

callback
Callback.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

SendRequest Method

Sends the request with body string.

Syntax

public void SendRequest (string body, KiiHttpClientCallback callback)

Parameters

body
Body.
callback
Callback.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

SendRequest Method

Sends the request with body stream.

Syntax

public void SendRequest (System.IO.Stream body, KiiHttpClientProgressCallback progressCallback, KiiHttpClientCallback callback)

Parameters

body
Body.
progressCallback
Callback for progrees.
callback
Callback.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

SendRequest Method

Sends the request with body stream.

Syntax

public void SendRequest (System.IO.Stream body, KiiHttpClientProgressPercentageCallback progressCallback, KiiHttpClientCallback callback)

Parameters

body
Body.
progressCallback
Callback for progrees.
callback
Callback.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

SendRequestForDownload Method

Sends the request for downloading.

Syntax

public void SendRequestForDownload (System.IO.Stream outStream, KiiHttpClientProgressCallback progressCallback, KiiHttpClientCallback callback)

Parameters

outStream
Stream to be written.
progressCallback
Callback for progrees.
callback
Callback.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

SendRequestForDownload Method

Sends the request for downloading.

Syntax

public void SendRequestForDownload (System.IO.Stream outStream, KiiHttpClientProgressPercentageCallback progressCallback, KiiHttpClientCallback callback)

Parameters

outStream
Stream to be written.
progressCallback
Callback for progrees.
callback
Callback.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0