Skip to content

Latest commit

 

History

History
107 lines (74 loc) · 1.55 KB

ConnectionResponse.md

File metadata and controls

107 lines (74 loc) · 1.55 KB

ConnectionResponse

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

Description

Class ConnectionResponse


Methods


Methods

headers()

headers(): array

cookies()

cookies(): array

statusCode()

statusCode(): int

Get the status code of the response.


statusMessage()

statusMessage(): string

Get the status message of the response.


charset()

charset(): string

body()

body(): string

bodyAsBytes()

bodyAsBytes(): string

contentType()

contentType(): string

Get the response content type (e.g. "text/html");


parse()

parse(): Document