From feff9bbb67c59d02c11d50d17283cdcce7b5aecc Mon Sep 17 00:00:00 2001 From: Andreas Madsen Date: Sat, 18 Feb 2012 18:26:28 +0100 Subject: [PATCH] docs: remove setSecure() from net module docs 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 --- doc/api/net.markdown | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/doc/api/net.markdown b/doc/api/net.markdown index 23c67a2f290..50522715d89 100644 --- a/doc/api/net.markdown +++ b/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