Class AbstractEndpoint<TResult, TRequest>
Base class for endpoints that allow POST requests
Inheritance
System.Object
AbstractEndpoint<TResult, TRequest>
Inherited Members
Namespace: Steeltoe.Management
Assembly: Steeltoe.Management.Abstractions.dll
Syntax
public abstract class AbstractEndpoint<TResult, TRequest> : AbstractEndpoint, IEndpoint<TResult, TRequest>, IEndpoint
Type Parameters
Name | Description |
---|---|
TResult | Type of response returned from calls to this endpoint |
TRequest | Type of request that can be passed to this endpoint |
Constructors
| Edit this page View SourceAbstractEndpoint(IEndpointOptions)
Initializes a new instance of the AbstractEndpoint<TResult, TRequest> class.
Declaration
public AbstractEndpoint(IEndpointOptions options)
Parameters
Type | Name | Description |
---|---|---|
IEndpointOptions | options | Endpoint configuration options |
Methods
| Edit this page View SourceInvoke(TRequest)
Declaration
public virtual TResult Invoke(TRequest arg)
Parameters
Type | Name | Description |
---|---|---|
TRequest | arg |
Returns
Type | Description |
---|---|
TResult |