makers/utils/byte_stream_body_param library

Functions

byteStreamBodyHasAccess(BaseParameterAnnotation annotation) bool
createOriginalPayloadStreamVar() → Expression
isByteStreamBodyParam(ServerParam param) bool
Whether param is @Body() Stream<List<int>> (or nested byte stream).
routeNeedsResolvePayload(Iterable<ServerParam> params) bool
Whether the route handler must materialize the payload before invoking the controller. Byte-stream body params read directly from Payload.read.