Static
ofStatic
ofIn situations where we can't just use ReadableStream -- namely, browsers which don't support ReadableStream requests in fetch -- we may want to know whether we had a ReadableStream or a Blob (in particular, a File) in order to construct a request with the minimum of reading things into memory.
Represents a segment of an InDoipMessage. Each segment may consist of JSON or arbitrary bytes.
For advanced usage. In most cases, the input of DoipRequest can be provided, and the output of DoipResponse can be accessed, more simply as JSON or one of the various JavaScript types for representing bytes.