HttpSender class
HTTP Sender implementation.
- Implemented types
- Implementers
- Annotations
-
- @sealed
- @immutable
Constructors
- HttpSender.new(Config config)
Properties
- config → Config
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → HttpHeaders
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
JsonMap payload) → Future< bool> -
Sends the provided payload as the body of POST request to the configured
endpoint.
override
-
sendString(
String payload) → Future< bool> -
Sends the specified payload.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited