[−][src]Struct feroxbuster::FeroxResponse
A FeroxResponse
, derived from a Response
to a submitted Request
Implementations
impl FeroxResponse
[src]
FeroxResponse
implementation
pub fn status(&self) -> &StatusCode
[src]
Get the StatusCode
of this FeroxResponse
pub fn url(&self) -> &Url
[src]
Get the final Url
of this FeroxResponse
.
pub fn text(&self) -> &str
[src]
Get the full response text
pub fn headers(&self) -> &HeaderMap
[src]
Get the Headers
of this FeroxResponse
pub fn content_length(&self) -> u64
[src]
Get the content-length of this response, if known
pub fn set_url(&mut self, url: &str)
[src]
Set FeroxResponse
's url
attribute, has no affect if an error occurs
pub fn is_file(&self) -> bool
[src]
Make a reasonable guess at whether the response is a file or not
Examines the last part of a path to determine if it has an obvious extension i.e. http://localhost/some/path/stuff.js where stuff.js indicates a file
Additionally, inspects query parameters, as they're also often indicative of a file
pub async fn from(response: Response, read_body: bool) -> Self
[src]
Create a new FeroxResponse
from the given Response
Trait Implementations
impl Clone for FeroxResponse
[src]
fn clone(&self) -> FeroxResponse
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FeroxResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for FeroxResponse
impl Send for FeroxResponse
impl Sync for FeroxResponse
impl Unpin for FeroxResponse
impl UnwindSafe for FeroxResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,