mangadex_api/v5/forums/thread.rs
1use crate::HttpClientRef;
2
3pub mod post;
4
5use post::CreateForumThreadBuilder;
6
7#[derive(Debug)]
8pub struct ForumsThreadsEndpoint {
9 http_client: HttpClientRef,
10}
11
12impl ForumsThreadsEndpoint {
13 #[doc(hidden)]
14 pub fn new(http_client: HttpClientRef) -> Self {
15 Self { http_client }
16 }
17 pub fn post(&self) -> CreateForumThreadBuilder {
18 CreateForumThreadBuilder::default().http_client(self.http_client.clone())
19 }
20}