Skip to content

Commit

Permalink
Added docs for method 'put' in IO::Socket
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Olof Hendig committed May 16, 2016
1 parent d4d0a0b commit 95d8ee4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/Type/IO/Socket.pod
Expand Up @@ -47,6 +47,15 @@ connection. The string version is L<#method print>.
Fails if the socket is not connected.
=head2 method put
method put(IO::Socket:D: Str(Cool) $string)
Writes the supplied string, with a C<\n> appended to it,
to the socket, thus sending it to other end of the connection.
Fails if the socket is not connected.
=head2 method close
method close(IO::Socket:D)
Expand Down

0 comments on commit 95d8ee4

Please sign in to comment.