1#![allow(non_camel_case_types)]
5pub mod model;
6pub mod request_model;
7use crate::model::*;
8
9pub struct ReadmeClient {
10 pub(crate) client: httpclient::Client,
11}
12impl ReadmeClient {}
13impl ReadmeClient {
14 pub fn new(url: &str) -> Self {
15 let client = httpclient::Client::new(Some(url.to_string()));
16 ReadmeClient { client }
17 }
18 pub fn with_middleware<M: httpclient::Middleware + 'static>(
19 mut self,
20 middleware: M,
21 ) -> Self {
22 self.client = self.client.with_middleware(middleware);
23 self
24 }
25}