SetResponseBytes Method
Sets a byte array to be served as a response.
Syntax
public func setResponseBytes(connectionId: Int64, bytes: Data, contentType: String) throws -> Void
Remarks
Use this property to provide the response content in a byte array.