Table of Contents

Interface IHttpPostRequestBuilder<TResponse>

Namespace
Homa.Sdk.Foundation
Assembly
Homa.Sdk.Foundation.dll

Interface for building an HTTP POST request.

[Obsolete("Use IHttpRequestBuilder<TResponse> instead.")]
public interface IHttpPostRequestBuilder<TResponse> : IHttpRequestBuilder<TResponse>, IHttpRequestBuilder<IHttpRequestBuilder<TResponse>, TResponse>

Type Parameters

TResponse

Type of the response received from the post request.

Inherited Members

Methods

SetJsonPayload(object)

Sets the payload of the POST request in a JSON format.

IHttpPostRequestBuilder<TResponse> SetJsonPayload(object payload)

Parameters

payload object

Object to serialize to a JSON format

Returns

IHttpPostRequestBuilder<TResponse>

SetJsonPayload(object, JsonSerializerSettings)

Sets the payload of the POST request in a JSON format.

IHttpPostRequestBuilder<TResponse> SetJsonPayload(object payload, JsonSerializerSettings serializerSettings)

Parameters

payload object

Object to serialize to a JSON format

serializerSettings JsonSerializerSettings

Serialization settings to use

Returns

IHttpPostRequestBuilder<TResponse>

SetJsonPayload(string)

Sets the payload of the POST request in a JSON format.

IHttpPostRequestBuilder<TResponse> SetJsonPayload(string jsonPayload)

Parameters

jsonPayload string

Already serialized json

Returns

IHttpPostRequestBuilder<TResponse>