vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Template validateConnectionStream

Verifies that the given type is a valid connection stream.

template validateConnectionStream(T) ;

A valid connection stream type must implement all methods of the ConnectionStream interface. Inheriting form ConnectionStream is not strictly necessary, which also enables struct types to be considered as stream implementations.

See Also

isConnectionStream

Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.