Client in lychee_lib - Rust (original) (raw)

pub struct Client { /* private fields */ }

Expand description

Handles incoming requests and returns responses.

See ClientBuilder which contains sane defaults for all configuration options.

Source§

Source

Check a single request.

request can be either a Request or a type that can be converted into it. In any case, it must represent a valid URI.

§Errors

Returns an Err if:

Source

Check a single file using the file checker.

Source

Remap uri using the client-defined remapping rules.

§Errors

Returns an Err if the final, remapped uri is not a valid URI.

Source

Returns whether the given uri should be ignored from checking.

Source

Checks the given URI of a website.

§Errors

This returns an Err if

Source

Checks a mailto URI.

Source

Checks a file URI’s fragment.

§

§

§

§

§

§