Click or drag to resize

IRestClientFactory Interface

Represents a class which can resolve REST client implementations

Namespace: SanteDB.Core.Http
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface IRestClientFactory

The IRestClientFactory type exposes the following members.

Methods
 NameDescription
Public methodCreateRestClient Create a rest client based on the description
Public methodGetRestClientFor(ServiceEndpointType) Resolve a rest client which communicates with serviceEndpointType
Public methodGetRestClientFor(String) Resolve a rest client which is named clientName
Public methodTryGetRestClientFor(ServiceEndpointType, IRestClient) Try to get a rest client for serviceEndpointType
Public methodTryGetRestClientFor(String, IRestClient) Try to get a rest client named clientName
Top
See Also