devpul_http 1.0.0 copy "devpul_http: ^1.0.0" to clipboard
devpul_http: ^1.0.0 copied to clipboard

package:http client wrapper for DevPul. Shows requests, responses and errors live in the DevPul browser UI, with curl commands.

devpul_http #

package:http client wrapper for DevPul. Shows each request, response and error live in the browser, with headers, bodies, timings and a curl command.

Install #

dependencies:
  devpul: ^1.0.0
  devpul_http: ^1.0.0

Usage #

import 'package:devpul_http/devpul_http.dart';

final client = DevpulClient();

Future<String> items() => client.read(Uri.parse('https://example.com/items'));

DevpulClient wraps any Client, Client() by default, so it works with IOClient, BrowserClient, cupertino_http and cronet_http. Ignore rules, redaction, size limits and console output come from Devpul.configure in devpul. See the package:http page.

Limits #

Debug builds, and profile builds built with DEVPUL_PROFILE. Response bodies are read in full before your code gets them; text/event-stream responses pass through untouched and show as <stream>, as do StreamedRequest bodies.

0
likes
160
points
242
downloads

Documentation

Documentation
API reference

Publisher

verified publishersaradgajurel.com.np

Weekly Downloads

package:http client wrapper for DevPul. Shows requests, responses and errors live in the DevPul browser UI, with curl commands.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#debugging #network #http #devtools

License

MIT (license)

Dependencies

devpul, http

More

Packages that depend on devpul_http