Advertisement

Advertisement

Advertisement

Requests_IRI::set_host

Set the ihost. Returns true on success, false on failure (if there are any invalid characters).

Requests_IRI::set_port

Set the port. Returns true on success, false on failure (if there are any invalid characters).

Requests_IRI::set_authority

Set the authority. Returns true on success, false on failure (if there are any invalid characters).

Advertisement

Requests_IRI::set_scheme

Set the scheme. Returns true on success, false on failure (if there are any invalid characters).

Requests_IRI::set_iri

Set the entire IRI. Returns true on success, false on failure (if there are any invalid characters).

Requests_IRI::is_valid

Check if the object represents a valid IRI. This needs to be done on each call as some things change depending on another part of the IRI.