Skip to content

fix: support custom agent in node http handler#489

Merged
AllanZhengYP merged 3 commits intoaws:smithy-codegenfrom
AllanZhengYP:support-agent-continue
Dec 5, 2019
Merged

fix: support custom agent in node http handler#489
AllanZhengYP merged 3 commits intoaws:smithy-codegenfrom
AllanZhengYP:support-agent-continue

Conversation

@AllanZhengYP
Copy link
Contributor

This change also clean up the request options interfaces. Now we only pulish httpHandlerOptions interface which defines the per-request http options. It currently only has an AbortSignal entry. The other interface are removed from @aws-sdk/types because these interfaces are constructor interface for individual http handler, they only need to be exposed from its own http handler package.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Because these interfaces are constructor interface for individual
http handler, they only need to be exposed from its own http handler
package
@aws-sdk-js-automation
Copy link

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@codecov-io
Copy link

Codecov Report

Merging #489 into smithy-codegen will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@                Coverage Diff                 @@
##           smithy-codegen     #489      +/-   ##
==================================================
+ Coverage           94.53%   94.54%   +<.01%     
==================================================
  Files                  68       68              
  Lines                1282     1284       +2     
  Branches              255      256       +1     
==================================================
+ Hits                 1212     1214       +2     
  Misses                 70       70
Impacted Files Coverage Δ
...kages/fetch-http-handler/src/fetch-http-handler.ts 97.61% <ø> (ø) ⬆️
...ackages/node-http-handler/src/node-http-handler.ts 100% <100%> (ø) ⬆️
...ckages/node-http-handler/src/node-http2-handler.ts 89.65% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 220e375...9157edf. Read the comment docs.

@AllanZhengYP AllanZhengYP requested a review from srchase December 4, 2019 17:55
@AllanZhengYP AllanZhengYP merged commit 935ab10 into aws:smithy-codegen Dec 5, 2019
@lock
Copy link

lock bot commented Dec 12, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants