mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
std.socketstream: Clean up Ddoc formatting and code indentation.
This commit is contained in:
parent
1f2cc3ac74
commit
a8992d8eb1
1 changed files with 36 additions and 36 deletions
|
@ -21,8 +21,8 @@
|
|||
*/
|
||||
|
||||
/**************
|
||||
* <b>SocketStream</b> is a stream for a blocking,
|
||||
* connected <b>Socket</b>.
|
||||
* $(D SocketStream) is a stream for a blocking,
|
||||
* connected $(D Socket).
|
||||
*
|
||||
* For Win32 systems, link with <tt>ws2_32.lib</tt>.
|
||||
*
|
||||
|
@ -41,8 +41,8 @@ private import std.stream;
|
|||
private import std.socket;
|
||||
|
||||
/**************
|
||||
* <b>SocketStream</b> is a stream for a blocking,
|
||||
* connected <b>Socket</b>.
|
||||
* $(D SocketStream) is a stream for a blocking,
|
||||
* connected $(D Socket).
|
||||
*/
|
||||
class SocketStream: Stream
|
||||
{
|
||||
|
@ -65,7 +65,7 @@ class SocketStream: Stream
|
|||
}
|
||||
|
||||
/**
|
||||
* Uses mode <b>FileMode.In | FileMode.Out</b>.
|
||||
* Uses mode $(D FileMode.In | FileMode.Out).
|
||||
*/
|
||||
this(Socket sock)
|
||||
{
|
||||
|
@ -74,7 +74,7 @@ class SocketStream: Stream
|
|||
}
|
||||
|
||||
/**
|
||||
* Property to get the <b>Socket</b> that is being streamed.
|
||||
* Property to get the $(D Socket) that is being streamed.
|
||||
*/
|
||||
Socket socket()
|
||||
{
|
||||
|
@ -135,7 +135,7 @@ class SocketStream: Stream
|
|||
}
|
||||
|
||||
/**
|
||||
* Close the <b>Socket</b>.
|
||||
* Close the $(D Socket).
|
||||
*/
|
||||
override void close()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue