PureBasic - Http

Overview

Http is the name of the protocol used by web browsers to access remote information, such as a web page. Each item has an unique address in order to access it from anywhere, this is its: URL (Uniform Resource Locator). The functions within this library are designed to provide easy manipulation of URLs and the capability to retrieve remote files.

The Http commands are based on the network library, so InitNetwork() must be called successfully before using them.

On Linux, 'libcurl' needs to be installed to have the HTTP commands working (most of Linux distributions comes with it already installed).

Command Index

AbortHTTP
FinishHTTP
GetHTTPHeader
GetURLPart
HTTPProgress
HTTPProxy
ReceiveHTTPFile
ReceiveHTTPMemory
SetURLPart
URLDecoder
URLEncoder

Example

Http.pb

Supported OS

All

Reference Manual - Index