System.Collections.Concurrent.BlockingCollection.Add(Jackett.CurlHelper.CurlRequest)

Here are the examples of the csharp api class System.Collections.Concurrent.BlockingCollection.Add(Jackett.CurlHelper.CurlRequest) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: Jackett
Source File: Curl.cs
public async Task<string> GetStringAsync(string url, string cookies = null, string referer = null)
        {
            var curlRequest = new CurlRequest(HttpMethod.Get, url, cookies, referer);
            curlRequests.Add(curlRequest);
            var result = await curlRequest.TaskCompletion.Task;
            return result;
        }