SetResponseStatus Method
Sets an HTTP status to be sent with the response.
Syntax
public fun setResponseStatus(connectionId: Long, statusCode: Int)
Remarks
Use this method to set an HTTP status for the request. A good place to call this method is a request-marking event, such as GetRequest.