Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

net: remove setSecure from documentation #2783

Closed
wants to merge 2 commits into from

2 participants

@AndreasMadsen

socket.setSecure() was removed in v0.3 and there are no deprecated warning in code
it should be removed from the documentation in 0.7.

AndreasMadsen added some commits
@AndreasMadsen AndreasMadsen net: remove setSecure from documentation
socket.setSecure() was removed in v0.3 and there are no deprecated warning in code
it should be removed from the documentation in 0.7
d244fbf
@AndreasMadsen AndreasMadsen Merge remote-tracking branch 'upstream/master' into tcp-cleanup cf1d591
@bnoordhuis
Owner

Thanks Andreas, merged in feff9bb.

@bnoordhuis bnoordhuis closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 18, 2012
  1. @AndreasMadsen

    net: remove setSecure from documentation

    AndreasMadsen authored
    socket.setSecure() was removed in v0.3 and there are no deprecated warning in code
    it should be removed from the documentation in 0.7
Commits on Feb 19, 2012
  1. @AndreasMadsen
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 7 deletions.
  1. +1 −7 doc/api/net.markdown
View
8 doc/api/net.markdown
@@ -69,7 +69,7 @@ For UNIX domain sockets, `options` argument should be an object which specifies:
Common options are:
- `allowHalfOpen`: if `true`, the socket won't automatically send
- a FIN packet when the other end of the socket sends a FIN packet.
+ a FIN packet when the other end of the socket sends a FIN packet.
Defaults to `false`.
See ['end'](#event_end_) event for more information.
@@ -296,12 +296,6 @@ Users who experience large or growing `bufferSize` should attempt to
Sets the encoding (either `'ascii'`, `'utf8'`, or `'base64'`) for data that is
received. Defaults to `null`.
-#### socket.setSecure()
-
-This function has been removed in v0.3. It used to upgrade the connection to
-SSL/TLS. See the [TLS section](tls.html#tLS_) for the new API.
-
-
#### socket.write(data, [encoding], [callback])
Sends data on the socket. The second parameter specifies the encoding in the
Something went wrong with that request. Please try again.