Class HttpInteractionFactory
public static class HttpInteractionFactory
- Inheritance
-
HttpInteractionFactory
- Inherited Members
Methods
Create(Stream, Func<IInteraction, InteractionCallback, bool, RestRequestProperties?, CancellationToken, Task<InteractionCallbackResponse?>>, RestClient)
public static IInteraction Create(Stream body, Func<IInteraction, InteractionCallback, bool, RestRequestProperties?, CancellationToken, Task<InteractionCallbackResponse?>> sendResponseAsync, RestClient client)
Parameters
body
StreamsendResponseAsync
Func<IInteraction, InteractionCallback, bool, RestRequestProperties, CancellationToken, Task<InteractionCallbackResponse>>client
RestClient
Returns
Create(ReadOnlySpan<byte>, Func<IInteraction, InteractionCallback, bool, RestRequestProperties?, CancellationToken, Task<InteractionCallbackResponse?>>, RestClient)
public static IInteraction Create(ReadOnlySpan<byte> body, Func<IInteraction, InteractionCallback, bool, RestRequestProperties?, CancellationToken, Task<InteractionCallbackResponse?>> sendResponseAsync, RestClient client)
Parameters
body
ReadOnlySpan<byte>sendResponseAsync
Func<IInteraction, InteractionCallback, bool, RestRequestProperties, CancellationToken, Task<InteractionCallbackResponse>>client
RestClient
Returns
CreateAsync(Stream, RestClient, Func<IInteraction, InteractionCallback, bool, RestRequestProperties?, CancellationToken, Task<InteractionCallbackResponse?>>, CancellationToken)
public static ValueTask<IInteraction> CreateAsync(Stream body, RestClient client, Func<IInteraction, InteractionCallback, bool, RestRequestProperties?, CancellationToken, Task<InteractionCallbackResponse?>> sendResponseAsync, CancellationToken cancellationToken = default)
Parameters
body
Streamclient
RestClientsendResponseAsync
Func<IInteraction, InteractionCallback, bool, RestRequestProperties, CancellationToken, Task<InteractionCallbackResponse>>cancellationToken
CancellationToken