public async ValueTask <BungieResponse <GroupResponse> > GetGroupByNameV2( GroupNameSearchRequest request, CancellationToken token = default) { var stream = new MemoryStream(); await _serializationHelper.SerializeAsync(stream, request); return(await _httpClient.PostToBungieNetPlatform <GroupResponse>("/GroupV2/NameV2/", token, stream)); }
public async ValueTask <BungieResponse <GroupResponse> > GetGroupByNameV2( GroupNameSearchRequest request, CancellationToken cancellationToken = default) { var stream = new MemoryStream(); await _serializer.SerializeAsync(stream, request); return(await _dotNetBungieApiHttpClient .PostToBungieNetPlatform <GroupResponse>("/GroupV2/NameV2/", cancellationToken, stream) .ConfigureAwait(false)); }
public async ValueTask <BungieResponse <GroupResponse> > GetGroupByNameV2( GroupNameSearchRequest request, CancellationToken token = default) { return(await _apiAccess.GetGroupByNameV2(request, token)); }