Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] add agent to PipelineOptions #32809

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jeremymeng
Copy link
Member

to enable setting custom http.agent instance at the client level.

Related: #32808

to enable setting custom `http.agent` instance at the client level.
@jeremymeng jeremymeng requested review from bterlson and a team as code owners January 31, 2025 01:50
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

@azure/core-rest-pipeline

name: agentPolicyName,
sendRequest: async (req, next) => {
// Users may define an agent on the request, honor it over the client level one
if (!req.agent) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we add a test for this bit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants