SalHttpClient
Namespace: PPJ.Runtime.Internet
Assembly: PPJ.Runtime.49 (4.9.0.0)
HTTP implementation used to support SalQuickHTTP.
- C#
- VB.NET
public class SalHttpClient : IDisposable
Public Class SalHttpClient
Inherits IDisposable
Constructors
SalHttpClient()
Constructor
SalHttpClient(agent)
Constructor
| Name | Type | Description |
|---|---|---|
| agent | String |
Properties
Agent
String: User agent.
Proxy
WebProxy: Proxy.
Methods
Dispose()
Disposes the Http Client
GetPage(url)
Returns the HTML page from the url request.
| Parameter | Type | Description |
|---|---|---|
| url | String |
Returns: String.
GetPageSize(url)
Returns the size of the HTML page from the url request.
| Parameter | Type | Description |
|---|---|---|
| url | String |
Returns: Int64.
Events
StatusUpdate
HttpEventHandler Status event