SetResponseString Method
Sets a string to be served as a response.
Syntax
public func setResponseString(connectionId: Int64, dataStr: String, contentType: String) throws -> Void
Remarks
Use this property to provide the response content in a string.