HttpClient class Null safety
Constructors
- HttpClient(SendbirdState? state)
Properties
- appId ↔ String?
-
read / write
- baseUrl ↔ String?
-
read / write
- bypassAuth ↔ bool
-
read / write
- errorController ↔ StreamController
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
headers
↔ Map<
String, String> -
read / write
- isLocal ↔ bool
-
read / write
- request ↔ MultipartRequest?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- state ↔ SendbirdState?
-
read / write
- token ↔ String?
-
read / write
-
uploadRequests
↔ Map<
String, MultipartRequest> -
read / write
Methods
-
cacnel(
) → void -
cancelUploadRequest(
String requestId) → bool -
cleanUp(
) → void -
commonHeaders(
) → Map< String, String> -
delete(
{required String url, Map< String, dynamic> queryParams = const {}, Map<String, dynamic> body = const {}, Map<String, String> headers = const {}}) → Future -
get(
{required String url, Map< String, dynamic> ? queryParams, Map<String, String> ? headers}) → Future -
multipartRequest(
{required Method method, required String url, Map< String, dynamic> ? body, Map<String, dynamic> ? queryParams, Map<String, String> ? headers, OnUploadProgressCallback? progress}) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
patch(
{required String url, Map< String, dynamic> ? queryParams, Map<String, dynamic> ? body, Map<String, String> ? headers}) → Future -
post(
{required String url, Map< String, dynamic> queryParams = const {}, Map<String, dynamic> body = const {}, Map<String, String> headers = const {}}) → Future -
put(
{required String url, Map< String, dynamic> queryParams = const {}, Map<String, dynamic> body = const {}, Map<String, String> headers = const {}}) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited