Click or drag to resize
weroSoft AG, Software
GenericHttpClient Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Implements a general HTTP client, used for accessing Web services.
Inheritance Hierarchy

Namespace:  WeroSoft.Communication.Http
Assembly:  WeroSoft.Communication.Library (in WeroSoft.Communication.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public sealed class GenericHttpClient : BasicHttpClient, 
	IGenericHttpClient, IDisposable

The GenericHttpClient type exposes the following members.

Constructors
  NameDescription
Public methodGenericHttpClient
Initializes a new instance of the type GenericHttpClient.
Public methodGenericHttpClient(String)
Initializes a new instance of the type GenericHttpClient.
Top
Properties
  NameDescription
Public propertyBaseUri
Gets the base URI of the server.
(Inherited from BasicHttpClient.)
Public propertyEntityArguments
Gets the arguments to be used for the call.
(Inherited from BasicHttpClient.)
Public propertyEntityName
Gets the entity involved in the access.
(Inherited from BasicHttpClient.)
Public propertyHeaderEntries
Gets the headers collection to be used for sending next request to server.
(Inherited from BasicHttpClient.)
Public propertyPath
Gets the path defined by the service, the entity and the arguments if any.
(Inherited from BasicHttpClient.)
Public propertyQueryString
Gets the query string.
(Inherited from BasicHttpClient.)
Public propertyQueryStringEntries
Gets the query string collection to be used for sending a request to the server.
(Inherited from BasicHttpClient.)
Public propertyServiceName
Gets the service involved in the access.
(Inherited from BasicHttpClient.)
Top
Methods
  NameDescription
Public methodAddHeaderEntry
Adds a header entry.
(Inherited from BasicHttpClient.)
Public methodDeleteAsync
Deletes the given parameters to the defined URL.
Public methodDispose
Disposes the object using the dispose pattern of .NET.
(Inherited from ComponentBase.)
Public methodDispose(Object, DisposeEventArgs)
Called if the component gets disposed.
(Inherited from ComponentBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetAsync
Raise a GET request with the given URI, header and query string.
Public methodGetAsync(String)
Raise a GET request with the given URI, header and query string.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetResultAsyncTResult
Gets the result of a previous GET Operation.
Public methodGetResultByPathAsyncTResult
Gets a partial result of the last communication by accessing a path.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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
Posts the given arguments to configured server.
Public methodPutAsync
Puts the given arguments to configured server.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUseService(String)
Sets the service name to be used on accessing the server.
(Inherited from BasicHttpClient.)
Public methodUseService(String, String)
Sets the service and the entity name to be used on accessing the server.
(Inherited from BasicHttpClient.)
Public methodUseService(String, String, String)
Sets the service, the entity name and the arguments to be used on accessing the server.
(Inherited from BasicHttpClient.)
Top
Extension Methods
  NameDescription
Public Extension MethodClone(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodCloneT(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodConvert (Defined by DataConverterExtensions.)
Public Extension MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String)Overloaded.
Creates a data entry into a string builder according to the giving parameters.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry for a data element.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry into a string builder.
(Defined by TraceExtensions.)
Public Extension MethodDynamicCast
Dynamically casts a reference to another type.
(Defined by TypeManagerHelper.)
Public Extension MethodExtractSystemParametersFromTrigger
Extracts the system parameters from a collection of trigger parameter and transform them to a dictionary using string keys and string values.
(Defined by TriggerExtensions.)
Public Extension MethodGetFieldValue(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetFieldValueT(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValueT(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodInject(Type, Object)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInject(Type, Object, Boolean)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInjectField
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Type, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInvoke(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodInvokeTResult(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodSetFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetPropertyValue
Sets the data object on a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetReadOnlyFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodTryInjectProperty
Tries to Inject a value to a property within a data object.
(Defined by DataInjection.)
Top
See Also