Constructors
constructor
- new StreamParser(callbacks?): node.common.apis.cortex.StreamParser
Parameters
Optionalcallbacks: StreamParserCallbacks
Properties
hasResponse
hasResponse: boolean
Methods
feed
- feed(chunk): void
Returns void
finalize
- finalize(): ParsedSections
Returns ParsedSections
Feed a text chunk into the parser. Fires callbacks as sections are detected.