Click or drag to resize
weroSoft AG, Software
IGenericHttpClient Interface
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Defines the responsibilities of the generic HTTP Client.

Namespace:  WeroSoft.Communication.Http
Assembly:  WeroSoft.Communication.Library (in WeroSoft.Communication.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public interface IGenericHttpClient : IDisposable

The IGenericHttpClient type exposes the following members.

Properties
  NameDescription
Public propertyBaseUri
Gets the base URI of the server.
Public propertyEntityName
Gets the entity involved in the access.
Public propertyHeaderEntries
Gets the headers collection to be used for sending next request to server.
Public propertyQueryString
Gets the query string.
Public propertyQueryStringEntries
Gets the query string collection to be used for sending a request to the server.
Public propertyServiceName
Gets the service involved in the access.
Top
Methods
  NameDescription
Public methodAddHeaderEntry
Adds a key to the header.
Public methodDeleteAsync
Deletes the given parameters to the defined URL.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetAsync
Executes a asynchronous GET call to the server.
Public methodGetAsync(String)
Executes a asynchronous GET call to the server.
Public methodGetResultAsyncTResult
Gets the result of the call.
Public methodGetResultByPathAsyncTResult
Gets a partial result of the call.
Public methodHeadAsync
Calls the HEAD method using the given parameters to the defined URL.
Public methodPatchAsync
Patches the given parameters to the defined URL.
Public methodPostAsync
Executes a asynchronous POST call to the server.
Public methodPutAsync
Executes a asynchronous PUT call to the server.
Public methodUseService(String)
Defines the service which shall be used.
Public methodUseService(String, String)
Defines the service and the entity which shall be used.
Public methodUseService(String, String, String)
Defines the service and the entity which shall be used.
Top
See Also