private async System.Threading.Tasks.Task <WikiPage?> ProjectWikis_GetWikiPageAsync(Meziantou.GitLab.GetWikiPageProjectWikiRequest request, Meziantou.GitLab.RequestOptions?requestOptions = default(Meziantou.GitLab.RequestOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { string url = Meziantou.GitLab.GitLabClient.ProjectWikis_GetWikiPageAsync_BuildUrl(request); using (System.Net.Http.HttpRequestMessage requestMessage = new System.Net.Http.HttpRequestMessage()) { requestMessage.Method = System.Net.Http.HttpMethod.Get; requestMessage.RequestUri = new System.Uri(url, System.UriKind.RelativeOrAbsolute); HttpResponse?response = null; try { response = await this.SendAsync(requestMessage, requestOptions, cancellationToken).ConfigureAwait(false); if ((response.StatusCode == System.Net.HttpStatusCode.NotFound)) { return(default);
System.Threading.Tasks.Task <WikiPage?> Meziantou.GitLab.IGitLabProjectWikisClient.GetWikiPageAsync(Meziantou.GitLab.GetWikiPageProjectWikiRequest request, Meziantou.GitLab.RequestOptions?requestOptions, System.Threading.CancellationToken cancellationToken) { return(this.ProjectWikis_GetWikiPageAsync(request, requestOptions, cancellationToken)); }