Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Deprecate Socket.send in favor of Socket.print
Users may confuse the send method (which is just a Str-friendly wrapper over write) with send(2), which is subtly different from write(2). To avoid this confusion, and open up the possibility of a true send(2) analogue in the future, I think that the current send should be renamed to print (thanks to jnthn++ for the suggestion)
- Loading branch information