dart-archive/http_parser
A platform-independent Dart package for parsing and serializing HTTP formats.
- Stars
- 36
- Forks
- 25
- Last push (UTC)
- Oct 21, 2024
- Project status
- Archived
Technical topics
Dependencies used
Dependency list 6 items
- collection
^1.19.0 - source_span
^1.8.0 - string_scanner
^1.1.0 - typed_data
^1.3.0 - dart_flutter_team_lintsDevelopment
^3.0.0 - testDevelopment
^1.16.6
Original README
English project snapshot. Visit GitHub for the latest content.
Expand / collapse project README
[!IMPORTANT]
This repo has moved to https://github.com/dart-lang/http/tree/master/pkgs/http_parser
Build Status Pub Package package publisher
http_parser is a platform-independent package for parsing and serializing
various HTTP-related formats. It's designed to be usable on both the browser and
the server, and thus avoids referencing any types from dart:io or dart:html.
Features
-
Support for parsing and formatting dates according to HTTP/1.1, the HTTP/1.1 standard.
-
A
MediaTypeclass that represents an HTTP media type, as used inAcceptandContent-Typeheaders. This class supports both parsing and formatting media types according to HTTP/1.1. -
A
WebSocketChannelclass that provides aStreamChannelinterface for both the client and server sides of the WebSocket protocol independently of any specific server implementation.