Skip to content

Latest commit

 

History

History
204 lines (141 loc) · 2.73 KB

Connection.ru.md

File metadata and controls

204 lines (141 loc) · 2.73 KB

Connection

  • класс Connection (php\jsoup\Connection)
  • исходники php/jsoup/Connection.php

Описание

Class Connection


Методы


Методы

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