commercetools.Sdk
The commercetools platform, import-api and C# sdks generated from our api reference.
Loading...
Searching...
No Matches
Public Member Functions | Properties
commercetools.Base.Client.IClient Interface Reference

This interface defines the way to communicate with the Composable Commerce HTTP API. More...

Inherited by commercetools.Base.Client.CtpClient, and commercetools.Base.Client.StreamCtpClient.

Public Member Functions

Task< T > ExecuteAsync< T > (HttpRequestMessage requestMessage, CancellationToken cancellationToken=default)
 
Task< string > ExecuteAsJsonAsync (HttpRequestMessage requestMessage, CancellationToken cancellationToken=default)
 
Task< IApiResponse< T > > SendAsync< T > (HttpRequestMessage requestMessage, CancellationToken cancellationToken=default)
 
Task< IApiResponse< string > > SendAsJsonAsync (HttpRequestMessage requestMessage, CancellationToken cancellationToken=default)
 
Task< HttpResponseMessage > SendAsAsync (HttpRequestMessage requestMessage, CancellationToken cancellationToken=default)
 

Properties

ISerializerService SerializerService [get]
 
string Name [get, set]
 Gets or sets the name of the client.
 

Detailed Description

This interface defines the way to communicate with the Composable Commerce HTTP API.

Member Function Documentation

◆ ExecuteAsJsonAsync()

Task< string > commercetools.Base.Client.IClient.ExecuteAsJsonAsync ( HttpRequestMessage  requestMessage,
CancellationToken  cancellationToken = default 
)

◆ ExecuteAsync< T >()

Task< T > commercetools.Base.Client.IClient.ExecuteAsync< T > ( HttpRequestMessage  requestMessage,
CancellationToken  cancellationToken = default 
)

◆ SendAsAsync()

Task< HttpResponseMessage > commercetools.Base.Client.IClient.SendAsAsync ( HttpRequestMessage  requestMessage,
CancellationToken  cancellationToken = default 
)

◆ SendAsJsonAsync()

Task< IApiResponse< string > > commercetools.Base.Client.IClient.SendAsJsonAsync ( HttpRequestMessage  requestMessage,
CancellationToken  cancellationToken = default 
)

◆ SendAsync< T >()

Task< IApiResponse< T > > commercetools.Base.Client.IClient.SendAsync< T > ( HttpRequestMessage  requestMessage,
CancellationToken  cancellationToken = default 
)

Property Documentation

◆ Name

string commercetools.Base.Client.IClient.Name
getset

Gets or sets the name of the client.

The name of the client.

Implemented in commercetools.Base.Client.CtpClient, and commercetools.Base.Client.StreamCtpClient.

◆ SerializerService

ISerializerService commercetools.Base.Client.IClient.SerializerService
get

The documentation for this interface was generated from the following file: