Show / Hide Table of Contents

Class WebClient

Inheritance
System.Object
WebClient
Implements
IWebClient
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CG.Web.MegaApiClient
Assembly: MegaApiClient.dll
Syntax
public class WebClient : IWebClient

Constructors

| Improve this Doc View Source

WebClient(Int32, ProductInfoHeaderValue)

Declaration
public WebClient(int responseTimeout = -1, ProductInfoHeaderValue userAgent = null)
Parameters
Type Name Description
System.Int32 responseTimeout
System.Net.Http.Headers.ProductInfoHeaderValue userAgent

Properties

| Improve this Doc View Source

BufferSize

Declaration
public int BufferSize { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

GetRequestRaw(Uri)

Declaration
public Stream GetRequestRaw(Uri url)
Parameters
Type Name Description
System.Uri url
Returns
Type Description
System.IO.Stream
| Improve this Doc View Source

PostRequestJson(Uri, String)

Declaration
public string PostRequestJson(Uri url, string jsonData)
Parameters
Type Name Description
System.Uri url
System.String jsonData
Returns
Type Description
System.String
| Improve this Doc View Source

PostRequestJson(Uri, String, String)

Declaration
public string PostRequestJson(Uri url, string jsonData, string hashcash)
Parameters
Type Name Description
System.Uri url
System.String jsonData
System.String hashcash
Returns
Type Description
System.String
| Improve this Doc View Source

PostRequestRaw(Uri, Stream)

Declaration
public string PostRequestRaw(Uri url, Stream dataStream)
Parameters
Type Name Description
System.Uri url
System.IO.Stream dataStream
Returns
Type Description
System.String
| Improve this Doc View Source

PostRequestRawAsStream(Uri, Stream)

Declaration
public Stream PostRequestRawAsStream(Uri url, Stream dataStream)
Parameters
Type Name Description
System.Uri url
System.IO.Stream dataStream
Returns
Type Description
System.IO.Stream

Implements

IWebClient
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2013-2024 - Gregoire Pailler - MegaApiClient 1.10.5