private WriteMethodNotSupportedResponseAsync ( string request, IOutputStream os ) : System.Threading.Tasks.Task | ||
request | string | |
os | IOutputStream | |
return | System.Threading.Tasks.Task |
private async Task WriteMethodNotSupportedResponseAsync(string request, IOutputStream os)
{
bool urlFound = false;
byte[] bodyArray = null;
bodyArray = Encoding.UTF8.GetBytes("");
await WriteResponseAsync(request.ToUpper(), "NOT SUPPORTED", urlFound, bodyArray, os);
}