WarcHttpBlock class

Implemented types

Constructors

WarcHttpBlock.build({String httpVersion = '1.1', int statusCode = 200, String? statusReason = 'OK', required Map<String, String> header, required List<int> payload})
WarcHttpBlock.fromFrames({required List<int> headerBytes, required List<int> payload})
WarcHttpBlock.parseBytes(List<int> bytes)

Properties

blockContentType String?
no setteroverride
bytes Uint8List
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
no setter
payloadBytes Uint8List
no setter
payloadContentType String?
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
no setter

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

fromBlock(WarcBlock block) WarcHttpBlock