SwiftstructMessage
ResponseParser
struct NIOIMAPCore2.ResponseParser
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolNIOIMAPCore2.Parser
Members 8
- field
let bodySizeLimit: UInt64+0x30 - field
let bufferLimit: Int+0x20 - field
var lastResponseNewlineEnding: NIOIMAPCore2.ParseBuffer.Newline?+0x49 - field
let messageAttributeLimit: Int+0x28 - field
var mode: NIOIMAPCore2.ResponseParser.Mode+0x38 - field
let parser: NIOIMAPCore2.GrammarParser+0x0 - func
parseResponseStream(buffer: inout NIOIMAPCore2.ByteBuffer) throws -> NIOIMAPCore2.ResponseOrContinuationRequest? - init
init(options: NIOIMAPCore2.ResponseParser.Options) -> NIOIMAPCore2.ResponseParser
Header
struct ResponseParser { struct Options { var bufferLimit: Swift.Int var messageAttributeLimit: Swift.Int var bodySizeLimit: Swift.UInt64 var literalSizeLimit: Swift.Int var parsedStringCache: (@Sendable (_: Swift.String) -> Swift.String)? init(bufferLimit: Swift.Int, messageAttributeLimit: Swift.Int, bodySizeLimit: Swift.UInt64, literalSizeLimit: Swift.Int, parsedStringCache: (@Sendable (_: Swift.String) -> Swift.String)?) } enum Mode { case response(NIOIMAPCore2.ResponseParser.ResponseState) case streamingQuoted(attributeCount: Swift.Int) case attributeBytes(Swift.Int, attributeCount: Swift.Int) } struct ResponseAndNewline { var response: NIOIMAPCore2.ResponseOrContinuationRequest var newline: NIOIMAPCore2.ParseBuffer.Newline? } // Local type in a function or closure the binary does not name enum _Response { case untaggedResponse(NIOIMAPCore2.ResponsePayload) case fetchResponse(NIOIMAPCore2.GrammarParser._FetchResponse) } enum ResponseState { case fetchMiddle(attributeCount: Swift.Int) case fetchOrNormal } let parser: NIOIMAPCore2.GrammarParser let bufferLimit: Swift.Int let messageAttributeLimit: Swift.Int let bodySizeLimit: Swift.UInt64 var mode: NIOIMAPCore2.ResponseParser.Mode var lastResponseNewlineEnding: NIOIMAPCore2.ParseBuffer.Newline? init(options: NIOIMAPCore2.ResponseParser.Options) func parseResponseStream(buffer: inout NIOIMAPCore2.ByteBuffer) throws -> NIOIMAPCore2.ResponseOrContinuationRequest? }