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]

[src]

Register handler for "/"

[src]

Register middleware

[src]

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.

[src]

Convert into HttpHandler object.

Auto Trait Implementations

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

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