HttpRequests extension

Hue HTTP repo requests made easy.

on

Methods

delete(Resource resource, {String decrypter(String ciphertext)?}) Future<Map<String, dynamic>?>
Fetch the given resource from this bridge.
get(Resource resource, {String decrypter(String ciphertext)?}) Future<Map<String, dynamic>?>
Fetch the given resource from this bridge.
getResource(ResourceType type, {String decrypter(String ciphertext)?}) Future<List<Map<String, dynamic>>?>
Fetch all resources of the given resource type from this bridge.
post(Resource resource, {String decrypter(String ciphertext)?, bool refreshOriginals = true}) Future<Map<String, dynamic>?>
Fetch the given resource from this bridge.
put(Resource resource, {String decrypter(String ciphertext)?, bool refreshOriginals = true}) Future<Map<String, dynamic>?>
Fetch the given resource from this bridge.