PodHttp class
Low-level HTTP client for POD operations.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
checkStatus(
String url) → Future< ResourceStatus> - Perform a HEAD request to check resource existence.
-
delete(
String url) → Future< PodResponse> - Perform a DELETE request to remove a resource.
-
get(
String url, {PodContentType accept = PodContentType.any}) → Future< PodResponse> - Perform a GET request to fetch a resource.
-
post(
String containerUrl, String name, String content, {PodContentType contentType = PodContentType.json, bool isDirectory = false}) → Future< PodResponse> - Perform a POST request to create a resource.
-
put(
String url, String content, {PodContentType contentType = PodContentType.json}) → Future< PodResponse> - Perform a PUT request to create or replace a resource.