RawGitHubNetworkingClient class
A general purpose networking client to interact with GitHub Raw API
- Inheritance
-
- Object
- NetworkingClient
- RawGitHubNetworkingClient
Constructors
- RawGitHubNetworkingClient({required NetworkingGitHubRepository repository})
-
RawGitHubNetworkingClient.custom({required Duration duration, required List<
Interceptor> interceptors, required NetworkingGitHubRepository repository})
Properties
- baseUrl → Uri
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
finalinherited
-
interceptors
→ List<
Interceptor> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeoutDuration → Duration
-
finalinherited
Methods
-
delete(
{required String endpoint, Map< String, String> ? headers, Map<String, String> ? queryParameters}) → Future<Either< RequestError, Response> > -
inherited
-
get(
{required String endpoint, Map< String, String> ? headers, Map<String, String> ? queryParameters}) → Future<Either< RequestError, Response> > -
inherited
-
multipart(
{required String endpoint, Map< String, String> ? form, Map<String, Uint8List> ? files, Map<String, String> ? headers, Map<String, String> ? queryParameters}) → Future<Either< RequestError, Response> > -
Crafts and sends a multipart/form-data request.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(
{required String endpoint, ContentType contentType = ContentType.json, String? data, Map< String, String> ? headers, Map<String, String> ? queryParameters}) → Future<Either< RequestError, Response> > -
inherited
-
post(
{required String endpoint, ContentType contentType = ContentType.json, String? data, Map< String, String> ? headers, Map<String, String> ? queryParameters}) → Future<Either< RequestError, Response> > -
inherited
-
put(
{required String endpoint, ContentType contentType = ContentType.json, String? data, Map< String, String> ? headers, Map<String, String> ? queryParameters}) → Future<Either< RequestError, Response> > -
inherited
-
send(
{required Request request}) → Future< Either< RequestError, Response> > -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited