ClientBrowser class
Constructors
- ClientBrowser({String endPoint = 'https://HOSTNAME/v1', bool selfSigned = false})
Properties
Methods
-
addHeader(
String key, String value) → ClientBrowser -
call(
HttpMethod method, {String path = '', Map< String, String> headers = const {}, Map<String, dynamic> params = const {}, ResponseType? responseType}) → Future<Response> -
chunkedUpload(
{required String path, required Map< String, dynamic> params, required String paramName, required String idParamName, required Map<String, String> headers, dynamic onProgress(UploadProgress)?}) → Future<Response> -
override
-
init(
) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareRequest(
HttpMethod method, {required Uri uri, required Map< String, String> headers, required Map<String, dynamic> params}) → BaseRequest -
inherited
-
prepareResponse(
Response res, {ResponseType? responseType}) → Response -
inherited
-
setEndpoint(
String endPoint) → ClientBrowser -
setEndPointRealtime(
String endPoint) → ClientBrowser -
setJWT(
dynamic value) → ClientBrowser - Your secret JSON Web Token
-
setLocale(
dynamic value) → ClientBrowser -
setProject(
dynamic value) → ClientBrowser - Your project ID
-
setSelfSigned(
{bool status = true}) → ClientBrowser -
toResponse(
StreamedResponse streamedResponse) → Future< Response> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
webAuth(
Uri url, {String? callbackUrlScheme}) → Future -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CHUNK_SIZE → const int