private static bool GetIsStreamingSupported() { using (var streamingSupported = new Function("return typeof Response !== 'undefined' && 'body' in Response.prototype && typeof ReadableStream === 'function'")) return((bool)streamingSupported.Call()); }
static BrowserHttpHandler() { using (var streamingSupported = new Function("return typeof Response !== 'undefined' && 'body' in Response.prototype && typeof ReadableStream === 'function'")) StreamingSupported = (bool)streamingSupported.Call(); }