Struct actix_web::test::TestApp[][src]

pub struct TestApp<S = ()> { /* fields omitted */ }

Test application helper for testing request handlers.

Methods

impl<S: 'static> TestApp<S>
[src]

Register handler for "/"

Register middleware

Register resource. This method is similar to App::resource() method.

Trait Implementations

impl<S: 'static> IntoHttpHandler for TestApp<S>
[src]

The associated type which is result of conversion.

Convert into HttpHandler object.

Auto Trait Implementations

impl<S = ()> !Send for TestApp<S>

impl<S = ()> !Sync for TestApp<S>