Class ArbitraryBodyHttpRequestDescriptorBase<TSelf, TParams, TInterface>
Inheritance
ArbitraryBodyHttpRequestDescriptorBase<TSelf, TParams, TInterface>
Assembly: OpenSearch.Client.dll
Syntax
public abstract class ArbitraryBodyHttpRequestDescriptorBase<TSelf, TParams, TInterface> : ArbitraryHttpRequestDescriptorBase<TSelf, TParams, TInterface>, IDescriptor, IArbitraryBodyHttpRequest<TParams>, IArbitraryHttpRequest<TParams>, IRequest<TParams>, IRequest where TSelf : ArbitraryBodyHttpRequestDescriptorBase<TSelf, TParams, TInterface>, TInterface where TParams : ArbitraryHttpRequestParameters<TParams>, new() where TInterface : IArbitraryBodyHttpRequest<TParams>
Type Parameters
Name |
Description |
TSelf |
|
TParams |
|
TInterface |
|
Constructors
|
Edit this page
View Source
ArbitraryBodyHttpRequestDescriptorBase(string)
Declaration
protected ArbitraryBodyHttpRequestDescriptorBase(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Methods
|
Edit this page
View Source
Body(PostData)
Declaration
public TSelf Body(PostData body)
Parameters
Returns
|
Edit this page
View Source
Body(byte[])
Declaration
public TSelf Body(byte[] bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
Returns
|
Edit this page
View Source
Body(string)
Declaration
public TSelf Body(string body)
Parameters
Type |
Name |
Description |
string |
body |
|
Returns
|
Edit this page
View Source
MultiJsonBody(IEnumerable<object>)
Declaration
public TSelf MultiJsonBody(IEnumerable<object> items)
Parameters
Returns
|
Edit this page
View Source
MultiJsonBody(IEnumerable<string>)
Declaration
public TSelf MultiJsonBody(IEnumerable<string> items)
Parameters
Returns
|
Edit this page
View Source
SerializableBody<T>(T)
Declaration
public TSelf SerializableBody<T>(T o)
Parameters
Type |
Name |
Description |
T |
o |
|
Returns
Type Parameters
|
Edit this page
View Source
StreamableBody<T>(T, Action<T, Stream>, Func<T, Stream, CancellationToken, Task>)
Declaration
public TSelf StreamableBody<T>(T state, Action<T, Stream> syncWriter, Func<T, Stream, CancellationToken, Task> asyncWriter)
Parameters
Returns
Type Parameters
Implements
Extension Methods