Class RequestBase<TParameters>
Inheritance
RequestBase<TParameters>
Assembly: OpenSearch.Client.dll
Syntax
public abstract class RequestBase<TParameters> : IRequest<TParameters>, IRequest where TParameters : class, IRequestParameters, new()
Type Parameters
Name |
Description |
TParameters |
|
Constructors
|
Edit this page
View Source
RequestBase()
Declaration
|
Edit this page
View Source
RequestBase(Func<RouteValues, RouteValues>)
Declaration
protected RequestBase(Func<RouteValues, RouteValues> pathSelector)
Parameters
Properties
|
Edit this page
View Source
ContentType
Declaration
protected virtual string ContentType { get; }
Property Value
|
Edit this page
View Source
HttpMethod
Declaration
protected virtual HttpMethod HttpMethod { get; }
Property Value
|
Edit this page
View Source
RequestState
Declaration
[IgnoreDataMember]
protected IRequest<TParameters> RequestState { get; }
Property Value
Methods
|
Edit this page
View Source
Q(string, object)
Declaration
protected void Q(string name, object value)
Parameters
|
Edit this page
View Source
Q<TOut>(string)
Declaration
protected TOut Q<TOut>(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
Type Parameters
|
Edit this page
View Source
RequestDefaults(TParameters)
Allows a request implementation to set certain request parameter defaults, use sparingly!
Declaration
protected virtual void RequestDefaults(TParameters parameters)
Parameters
Type |
Name |
Description |
TParameters |
parameters |
|
|
Edit this page
View Source
ResolveUrl(RouteValues, IConnectionSettingsValues)
Declaration
protected virtual string ResolveUrl(RouteValues routeValues, IConnectionSettingsValues settings)
Parameters
Returns
|
Edit this page
View Source
Declaration
protected void SetAcceptHeader(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Implements
Extension Methods