DynCallHttpExecutorFactory class

A Factory that helps to define/attach HTTP executors to calls.

Constructors

DynCallHttpExecutorFactory(HttpClient httpClient, [String? basePath])

Properties

basePath String?
no setter
hashCode int
The hash code for this object.
no setterinherited
httpClient HttpClient
The HTTP client.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call<E, O>(DynCall<E, O> call) DynCallHttpExecutorFactory_builder<E, O>
Main method to use in the Factory. Returns a builder.
create<E>(HttpMethod method, {String? path, String? fullPath, Map<String, String>? parametersMap, Map<String, String>? parametersStatic, Map<String, ParameterProvider>? parametersProviders, String? queryString, dynamic noQueryString = false, Credential? authorization, List<String>? authorizationFields, Object? body, Object? bodyBuilder, String? bodyType, E? errorResponse, int errorMaxRetries = 3, HTTPOutputValidator? outputValidator, HTTPOutputFilter? outputFilter, HTTPJSONOutputFilter? jsonOutputFilter, String? outputFilterPattern, HTTPOutputInterceptor? outputInterceptor}) DynCallHttpExecutor<E>
define<E, O>(DynCall<E, O> call, HttpMethod method, {String? path, String? fullPath, Map<String, String>? parametersMap, Map<String, String>? parametersStatic, Map<String, ParameterProvider>? parametersProviders, String? queryString, dynamic noQueryString = false, Credential? authorization, List<String>? authorizationFields, Object? body, Object? bodyBuilder, String? bodyType, E? errorResponse, int errorMaxRetries = 3, HTTPOutputValidator? outputValidator, HTTPOutputFilter? outputFilter, HTTPJSONOutputFilter? jsonOutputFilter, String? outputFilterPattern, HTTPOutputInterceptor? outputInterceptor, ExecutorWrapper? executorWrapper}) DynCallExecutor<E>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited