More simplifications to help with the Null Safety migration (#12)

This is mostly cosmetic and should not affect the behavior, but does
help the migration tool to correctly infer nullability.
1 file changed
tree: 0b6aa32d68f47a3640aa757149fe12362aba516c
  1. lib/
  2. test/
  3. .gitignore
  4. .travis.yml
  5. CHANGELOG.md
  6. LICENSE
  7. pubspec.yaml
  8. README.md
README.md

Build Status pub package

A simple Dart HTTP client implemented using RawSynchronousSockets to allow for synchronous HTTP requests.

Warning: This library should probably only be used to connect to HTTP servers that are hosted on ‘localhost’. The operations in this library will block the calling thread to wait for a response from the HTTP server. The thread can process no other events while waiting for the server to respond. As such, this synchronous HTTP client library is not suitable for applications that require high performance. Instead, such applications should use libraries built on asynchronous I/O, including dart:io and package:http, for the best performance.