1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-21 17:11:08 +00:00

docs(web): mention try_init_service

This commit is contained in:
Rob Ede 2024-08-18 14:10:33 +01:00
parent f61fcbe840
commit 4303dd8c37
No known key found for this signature in database
GPG key ID: 97C636207D3EF933

View file

@ -1,7 +1,8 @@
//! Various helpers for Actix applications to use during testing.
//!
//! # Creating A Test Service
//! # Initializing A Test Service
//! - [`init_service`]
//! - [`try_init_service`]
//!
//! # Off-The-Shelf Test Services
//! - [`ok_service`]
@ -49,6 +50,7 @@ pub use self::{
/// Must be used inside an async test. Works for both `ServiceRequest` and `HttpRequest`.
///
/// # Examples
///
/// ```
/// use actix_web::{http::StatusCode, HttpResponse};
///