pub struct APIRequestContext { /* private fields */ }Expand description
APIRequestContext provides methods for making HTTP requests.
This is the Playwright protocol object that performs actual HTTP operations.
It is created automatically for each BrowserContext and can be accessed
via BrowserContext::request().
Used internally by Route::fetch() to perform the actual network request.
See: https://playwright.dev/docs/api/class-apirequestcontext
Implementations§
Trait Implementations§
Source§impl Clone for APIRequestContext
impl Clone for APIRequestContext
Source§fn clone(&self) -> APIRequestContext
fn clone(&self) -> APIRequestContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for APIRequestContext
impl !RefUnwindSafe for APIRequestContext
impl Send for APIRequestContext
impl Sync for APIRequestContext
impl Unpin for APIRequestContext
impl UnsafeUnpin for APIRequestContext
impl !UnwindSafe for APIRequestContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more