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
This commit is contained in:
parent
c6a04ce78f
commit
feff9bbb67
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user