Constructor
# new TwiMLResponse(body, statusCode) → {TwiMLResponse}
Parameters:
Name | Type | Default | Description |
---|---|---|---|
body |
string
|
object
|
<?xml version="1.0" encoding="UTF-8"?><Response /> | You can pass a string or a VoiceResponse object |
statusCode |
number
|
200 |