Skip to content

Commit

Permalink
note: add web()
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Oct 29, 2024
1 parent c47d709 commit ee81fad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,11 @@ impl<IOM: Write<SevenBitAddress> + Read<SevenBitAddress>, const BUF_SIZE: usize>
note::Note::from(self)
}

/// [web Requests](https://dev.blues.io/reference/notecard-api/web-requests/)
pub fn web(&mut self) -> note::Note<IOM, BUF_SIZE> {
note::Web::from(self)
}

/// [hub Requests](https://dev.blues.io/reference/notecard-api/hub-requests/)
pub fn hub(&mut self) -> hub::Hub<IOM, BUF_SIZE> {
hub::Hub::from(self)
Expand Down

0 comments on commit ee81fad

Please sign in to comment.