send<T> method
Future<T>
send<T>(
- IReturn<
T> request, { - String? method,
- dynamic body,
- Map<
String, dynamic> ? args, - T? responseAs,
- WebRequestFilter? requestFilter,
- WebResponseFilter? responseFilter,
override
Implementation
Future<T> send<T>(IReturn<T> request,
{String? method,
dynamic body,
Map<String, dynamic>? args,
T? responseAs,
WebRequestFilter? requestFilter,
WebResponseFilter? responseFilter}) {
return sendRequest<T>(SendWebContext(
request: request,
body: body,
method: method ?? resolveHttpMethod(request),
args: args,
responseAs: responseAs,
requestFilter: requestFilter,
responseFilter: responseFilter));
}