🎨 Mejora la página de bienvenida y el tema básico #6
1 changed files with 6 additions and 0 deletions
|
@ -117,6 +117,12 @@ pub struct Context {
|
||||||
id_counter : usize, // Contador para generar identificadores únicos.
|
id_counter : usize, // Contador para generar identificadores únicos.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Context {
|
||||||
|
fn default() -> Self {
|
||||||
|
Context::new(None)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl Context {
|
impl Context {
|
||||||
/// Crea un nuevo contexto asociado a una solicitud HTTP.
|
/// Crea un nuevo contexto asociado a una solicitud HTTP.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue