public Task <uhttpsharp.HttpResponse> Get(uhttpsharp.IHttpRequest request) { var memoryStream = new MemoryStream(); Newtonsoft.Json.JsonWriter writer = new JsonTextWriter(new StreamWriter(memoryStream)); JsonSerializer.Create().Serialize(writer, _strings); writer.Flush(); return(Task.FromResult(new HttpResponse(HttpResponseCode.Ok, "application/json; charset=utf-8", memoryStream, true))); }
public Task <uhttpsharp.HttpResponse> Delete(uhttpsharp.IHttpRequest request) { throw new NotImplementedException(); }