Skip to content

Commit

Permalink
add with_url to builder
Browse files Browse the repository at this point in the history
  • Loading branch information
warittornc committed Feb 29, 2024
1 parent 9ba2a43 commit 084f556
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bothan-binance/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ pub struct BinanceServiceBuilder {
}

impl BinanceServiceBuilder {
pub fn with_url(mut self, url: String) -> Self {
self.url = url;
self
}

pub fn with_cmd_ch_size(mut self, size: usize) -> Self {
self.cmd_ch_size = size;
self
Expand Down

0 comments on commit 084f556

Please sign in to comment.