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