Initializerhummingbird 2.3.0HummingbirdCore
init(buffer:)
Initialise RequestBody
from ByteBuffer
init(buffer: ByteBuffer)
Parameters
- buffer
ByteBuffer
Other members in extension
Types
struct AsyncIterator
class Source
A source used for driving a
RequestBody
stream.
Typealiases
Type members
init<AS>(asyncSequence: AS
) Initialise
RequestBody
from AsyncSequence of ByteBuffersstatic func makeStream(
) -> (RequestBody, Source) Make a new
RequestBody
stream