Last updated:
0 purchases
http extensions base url
http_extensions : base url #
An [http extension] that adds base url to requests with a relative path.
Usage #
final client = ExtendedClient(
inner: Client(),
extensions: [
BaseUrlExtension(
logger: Logger("BaseUrl"),
defaultOptions: BaseUrlOptions(
url: Uri.parse("http://flutter.dev") // The base url that is appended to the relative paths.
),
],
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.