HttpParser class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromUint8ListToRequest(
Uint8List data) → HttpParseRes -
fromUint8ListToResponse(
Uint8List data) → HttpParseRes -
requestParse(
Uint8List data) → Request - 将原始Socket字节数据解析为http.Request对象
-
responseParse(
Uint8List data) → Response - 将原始Socket字节数据解析为http.Response对象
-
serializeRequest(
Request request) → Uint8List -
serializeResponse(
Response response) → Uint8List