mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-08 00:16:27 +00:00
18 lines
373 B
C#
18 lines
373 B
C#
using System.Net;
|
|
using CryptoExchange.Net.Interfaces;
|
|
|
|
namespace CryptoExchange.Net.Requests
|
|
{
|
|
/// <summary>
|
|
/// WebRequest factory
|
|
/// </summary>
|
|
public class RequestFactory : IRequestFactory
|
|
{
|
|
/// <inheritdoc />
|
|
public IRequest Create(string uri)
|
|
{
|
|
return new Request(WebRequest.Create(uri));
|
|
}
|
|
}
|
|
}
|