[−][src]Trait gitlab::api::endpoint_prelude::Client
A trait representing a client which can communicate with a GitLab instance.
Associated Types
Loading content...Required methods
fn rest_endpoint(&self, endpoint: &str) -> Result<Url, ApiError<Self::Error>>
Get the URL for the endpoint for the client.
This method adds the hostname for the client's target instance.
fn rest(
&self,
request: RequestBuilder,
body: Vec<u8>
) -> Result<Response<Bytes>, ApiError<Self::Error>>
&self,
request: RequestBuilder,
body: Vec<u8>
) -> Result<Response<Bytes>, ApiError<Self::Error>>
Send a REST query.