-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
to be used to drive emulation for web clients
- Loading branch information
glendc
committed
Feb 25, 2024
1 parent
2b0d397
commit e89a9ab
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,3 +111,5 @@ pub mod tcp; | |
pub mod tls; | ||
|
||
pub mod http; | ||
|
||
pub mod ua; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//! User agent modules for Rama. | ||
//! | ||
//! TODO: Develop first version of this module | ||
|
||
#[derive(Debug)] | ||
#[non_exhaustive] | ||
/// User agent | ||
/// | ||
/// TODO: develop first version of this struct | ||
pub struct UserAgent; | ||
|
||
impl UserAgent { | ||
/// Create a new user agent | ||
pub fn new() -> Self { | ||
panic!("TODO:implement") | ||
} | ||
} | ||
|
||
impl Default for UserAgent { | ||
fn default() -> Self { | ||
panic!("TODO:implement") | ||
} | ||
} |