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