WebProxySendAsyncTResponse - метод
Пространство имён: Tessa.Platform.WebСборка: Tessa (в Tessa.dll) Версия: 4.0.4
protected ValueTask<TResponse> SendAsync<TResponse>(
HttpMethod method,
string? methodRoute = null,
IReadOnlySet? flags = null,
void content = default,
WebRequestFlag? prepareContextFuncAsync = null,
Object? modifyRequestFuncAsync = null,
Func<IWebProxyContext, ValueTask>? modifyResponseFuncAsync = null,
Func<IWebProxyContext?, ValueTask>? cancellationToken = null
)
Protected Function SendAsync(Of TResponse) (
method As HttpMethod,
Optional methodRoute As String = Nothing,
Optional flags As IReadOnlySet = Nothing,
Optional content As Void = Nothing,
Optional prepareContextFuncAsync As WebRequestFlag = Nothing,
Optional modifyRequestFuncAsync As Object = Nothing,
Optional modifyResponseFuncAsync As Func(Of IWebProxyContext, ValueTask) = Nothing,
Optional cancellationToken As Func(Of IWebProxyContext, ValueTask) = Nothing
) As ValueTask(Of TResponse)
protected:
generic<typename TResponse>
ValueTask<TResponse> SendAsync(
HttpMethod^ method,
String^ methodRoute = nullptr,
IReadOnlySet^ flags = nullptr,
void content = void(),
WebRequestFlag^ prepareContextFuncAsync = nullptr,
Object^ modifyRequestFuncAsync = nullptr,
Func<IWebProxyContext^, ValueTask>^ modifyResponseFuncAsync = nullptr,
Func<IWebProxyContext^, ValueTask>^ cancellationToken = nullptr
)
member SendAsync :
method : HttpMethod *
?methodRoute : string *
?flags : IReadOnlySet *
?content : unit *
?prepareContextFuncAsync : WebRequestFlag *
?modifyRequestFuncAsync : Object *
?modifyResponseFuncAsync : Func<IWebProxyContext, ValueTask> *
?cancellationToken : Func<IWebProxyContext, ValueTask>
(* Defaults:
let _methodRoute = defaultArg methodRoute null
let _flags = defaultArg flags null
let _content = defaultArg content new unit()
let _prepareContextFuncAsync = defaultArg prepareContextFuncAsync null
let _modifyRequestFuncAsync = defaultArg modifyRequestFuncAsync null
let _modifyResponseFuncAsync = defaultArg modifyResponseFuncAsync null
let _cancellationToken = defaultArg cancellationToken null
*)
-> ValueTask<'TResponse>
- method HttpMethod
-
- methodRoute String (Optional)
-
- flags IReadOnlySetT (Optional)
-
- content Void (Optional)
-
- prepareContextFuncAsync WebRequestFlag (Optional)
-
- modifyRequestFuncAsync Object (Optional)
-
- modifyResponseFuncAsync FuncIWebProxyContext, ValueTask (Optional)
-
- cancellationToken FuncIWebProxyContext, ValueTask (Optional)
-
- TResponse
ValueTaskTResponse