Skip to content

Add rejectUnauthorized option to ws types#1133

Closed
motiz88 wants to merge 1 commit into
facebook:mainfrom
motiz88:export-D51014312
Closed

Add rejectUnauthorized option to ws types#1133
motiz88 wants to merge 1 commit into
facebook:mainfrom
motiz88:export-D51014312

Conversation

@motiz88
Copy link
Copy Markdown
Contributor

@motiz88 motiz88 commented Nov 6, 2023

Summary:
Changelog: [Internal]

Adds a Flow definition that allows passing the rejectUnauthorized option to a WebSocket client. (See example usage in the ws repo.)

Differential Revision: D51014312

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 6, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014312

Summary:
X-link: facebook/react-native#41337


Changelog: [Internal]

Adds a Flow definition that allows passing the [`rejectUnauthorized`](https://nodejs.org/api/tls.html#tlscreateserveroptions-secureconnectionlistener:~:text=(120%20seconds).-,rejectUnauthorized,-%3Cboolean%3E%20If) option to a WebSocket client. (See [example usage](https://github.com/websockets/ws/blob/a049674d936746c36fe928cc1baaaafd3029a83e/examples/ssl.js#L33) in the `ws` repo.)

Reviewed By: robhogan

Differential Revision: D51014312
motiz88 added a commit to motiz88/react-native that referenced this pull request Nov 6, 2023
Summary:

X-link: facebook/metro#1133

Changelog: [Internal]

Adds a Flow definition that allows passing the [`rejectUnauthorized`](https://nodejs.org/api/tls.html#tlscreateserveroptions-secureconnectionlistener:~:text=(120%20seconds).-,rejectUnauthorized,-%3Cboolean%3E%20If) option to a WebSocket client. (See [example usage](https://github.com/websockets/ws/blob/a049674d936746c36fe928cc1baaaafd3029a83e/examples/ssl.js#L33) in the `ws` repo.)

Reviewed By: robhogan

Differential Revision: D51014312
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D51014312

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d1b0015) 83.09% compared to head (5aee931) 83.09%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1133   +/-   ##
=======================================
  Coverage   83.09%   83.09%           
=======================================
  Files         206      206           
  Lines       10547    10547           
  Branches     2617     2617           
=======================================
  Hits         8764     8764           
  Misses       1783     1783           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 187aa2c.

facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Nov 6, 2023
Summary:
Pull Request resolved: #41337

X-link: facebook/metro#1133

Changelog: [Internal]

Adds a Flow definition that allows passing the [`rejectUnauthorized`](https://nodejs.org/api/tls.html#tlscreateserveroptions-secureconnectionlistener:~:text=(120%20seconds).-,rejectUnauthorized,-%3Cboolean%3E%20If) option to a WebSocket client. (See [example usage](https://github.com/websockets/ws/blob/a049674d936746c36fe928cc1baaaafd3029a83e/examples/ssl.js#L33) in the `ws` repo.)

Reviewed By: robhogan

Differential Revision: D51014312

fbshipit-source-id: 25794b1867ca5f15fab1592e8f80cdad8cdf897a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants