Table of Contents

Method PostAsync

Namespace
Innova.Rest.Client
Assembly
Innova.Rest.Client.dll

PostAsync<PostType, GetType>(string, PostType, CancellationToken)

public Task<GetType> PostAsync<PostType, GetType>(string path, PostType itemToPost, CancellationToken cancellationToken = default)

Parameters

path string
itemToPost PostType
cancellationToken CancellationToken

Returns

Task<GetType>

Type Parameters

PostType
GetType

PostAsync<PostType>(string, PostType, CancellationToken)

public Task PostAsync<PostType>(string path, PostType itemToPost, CancellationToken cancellationToken = default)

Parameters

path string
itemToPost PostType
cancellationToken CancellationToken

Returns

Task

Type Parameters

PostType

PostAsync(string, CancellationToken)

public Task PostAsync(string path, CancellationToken cancellationToken = default)

Parameters

path string
cancellationToken CancellationToken

Returns

Task