1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-23 16:21:06 +01: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};
///