Represents handle with audio request information and respond function.
Content of the audio request.
A parameter map.
Respond an audio to the audio request.
The stream or equivalent.
Nothing
import * as fs from 'node:fs'const stream = fs.createReadStream('foo.mp3')req.respond(stream) Copy
import * as fs from 'node:fs'const stream = fs.createReadStream('foo.mp3')req.respond(stream)
Respond a error to the audio request.
The error message.
req.respondError("Alice") Copy
req.respondError("Alice")
Represents handle with audio request information and respond function.