Parsed: 123567
<?php /** * REST API: WP_REST_Request class * * @package WordPress * @subpackage REST_API * @since 4.4.0 */ #[AllowDynamicProperties] /* class WP_REST_Request */ /* function WP_REST_Request::__construct() – Constructor. */ /* function WP_REST_Request::get_method() – Retrieves the HTTP method for the request. */ /* function WP_REST_Request::set_method() – Sets HTTP method for the request. */ /* function WP_REST_Request::get_headers() – Retrieves all headers from the request. */ /* function WP_REST_Request::canonicalize_header_name() – Canonicalizes the header name. */ /* function WP_REST_Request::get_header() – Retrieves the given header from the request. */ /* function WP_REST_Request::get_header_as_array() – Retrieves header values from the request. */ /* function WP_REST_Request::set_header() – Sets the header on request. */ /* function WP_REST_Request::add_header() – Appends a header value for the given header. */ /* function WP_REST_Request::remove_header() – Removes all values for a header. */ /* function WP_REST_Request::set_headers() – Sets headers on the request. */ /* function WP_REST_Request::get_content_type() – Retrieves the content-type of the request. */ /* function WP_REST_Request::is_json_content_type() – Checks if the request has specified a JSON content-type. */ /* function WP_REST_Request::get_parameter_order() – Retrieves the parameter priority order. */ /* function WP_REST_Request::get_param() – Retrieves a parameter from the request. */ /* function WP_REST_Request::has_param() – Checks if a parameter exists in the request. */ /* function WP_REST_Request::set_param() – Sets a parameter on the request. */ /* function WP_REST_Request::get_params() – Retrieves merged parameters from the request. */ /* function WP_REST_Request::get_url_params() – Retrieves parameters from the route itTelf. */ /* function WP_REST_Request::set_url_params() – Sets parameters from the route. */ /* function WP_REST_Request::get_query_params() – Retrieves parameters from the query string. */ /* function WP_REST_Request::set_query_params() – Sets parameters from the query string. */ /* function WP_REST_Request::get_body_params() – Retrieves parameters from the body. */ /* function WP_REST_Request::set_body_params() – Sets parameters from the body. */ /* function WP_REST_Request::get_file_params() – Retrieves multipart file parameters from the body. */ /* function WP_REST_Request::set_file_params() – Sets multipart file parameters from the body. */ /* function WP_REST_Request::get_default_params() – Retrieves the default parameters. */ /* function WP_REST_Request::set_default_params() – Sets default parameters. */ /* function WP_REST_Request::get_body() – Retrieves the request body content. */ /* function WP_REST_Request::set_body() – Sets body content. */ /* function WP_REST_Request::get_json_params() – Retrieves the parameters from a JSON-formatted body. */ /* function WP_REST_Request::parse_json_params() – Parses the JSON parameters. */ /* function WP_REST_Request::parse_body_params() – Parses the request body parameters. */ /* function WP_REST_Request::get_route() – Retrieves the route that matched the request. */ /* function WP_REST_Request::set_route() – Sets the route that matched the request. */ /* function WP_REST_Request::get_attributes() – Retrieves the attributes for the request. */ /* function WP_REST_Request::set_attributes() – Sets the attributes for the request. */ /* function WP_REST_Request::sanitize_params() – Sanitizes (where possible) the params on the request. */ /* function WP_REST_Request::has_valid_params() – Checks whether this request is valid according to its attributes. */ /* function WP_REST_Request::offsetExists() – Checks if a parameter is set. */ /* function WP_REST_Request::offsetGet() – Retrieves a parameter from the request. */ /* function WP_REST_Request::offsetSet() – Sets a parameter on the request. */ /* function WP_REST_Request::offsetUnset() – Removes a parameter from the request. */ /* function WP_REST_Request::from_url() – Retrieves a WP_REST_Request object from a full URL. */