SailsIOClient class

Constructors

SailsIOClient(Socket socketIOClient)

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Json
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setHeaders Json
Set global headers for the SailsIOClient instance
no getter
socket ↔ Socket
latefinal

Methods

delete({required String url, Json? headers, Json? data, JWRCallBack? cb}) → void
Simulate a DELETE request to sails
get({required String url, Json? headers, Json? data, JWRCallBack? cb}) → void
Simulate a GET request to sails
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch({required String url, Json? headers, Json? data, JWRCallBack? cb}) → void
Simulate a PATCH request to sails
post({required String url, Json? headers, Json? data, JWRCallBack? cb}) → void
Simulate a POST request to sails
put({required String url, Json? headers, Json? data, JWRCallBack? cb}) → void
Simulate a PUT request to sails
request(RequestOptions options, JWRCallBack? cb) → void
Simulate an HTTP request to sails
toString() String
A string representation of this object.
inherited

Operators

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