Skip to content

Latest commit

 

History

History
204 lines (141 loc) · 2.7 KB

Connection.md

File metadata and controls

204 lines (141 loc) · 2.7 KB

Connection

  • class Connection (php\jsoup\Connection)
  • source php/jsoup/Connection.php

Description

Class Connection


Methods


Methods

data()

data(array $data): Connection

cookies()

cookies(array $data): Connection

headers()

headers(array $data): Connection

header()

header(string $name, string $value): Connection

url()

url(string $url): Connection

method()

method(string $method): Connection

proxy()

proxy(php\net\Proxy $proxy): Connection

userAgent()

userAgent(string $userAgent): Connection

maxBodySize()

maxBodySize(int $bytes): Connection

timeout()

timeout(int $millis): Connection

referrer()

referrer(string $referrer): Connection

followRedirects()

followRedirects(bool $enable): Connection

ignoreHttpErrors()

ignoreHttpErrors(bool $enable): Connection

ignoreContentType()

ignoreContentType(bool $enable): Connection

execute()

execute(): ConnectionResponse

get()

get(): Document

post()

post(): Document

request()

request(): ConnectionRequest

response()

response(): ConnectionResponse