private async void GetRequest(string path) { if (!path.StartsWith("/")) { path = "/" + path; } var features = new FeatureCollection(); features.Set <IHttpRequestFeature>(new MyHttpRequestFeature { Path = path, Method = "GET" }); var response = new MyHttpResponseFeature(); features.Set <IHttpResponseFeature>(response); await _server.ExecuteAsync(features); response.Body.Position = 0; _loadingDocument = true; webBrowser1.DocumentStream = response.Body; }