NoProxy
Default implementation of a proxy that does not alter the supplied TCPConnectionNotify
.
actor MyClient new create(host: String, service: String, proxy: Proxy = NoProxy) => let conn: TCPConnection = TCPConnection.create( env.root as AmbientAuth, proxy.apply(MyConnectionNotify.create()), "localhost", "80")
class val NoProxy is Proxy ref
Implements
- Proxy ref
Constructors
create
new iso create() : NoProxy iso^
Returns
- NoProxy iso^
Public Functions
apply
fun box apply( wrap: TCPConnectionNotify iso) : TCPConnectionNotify iso^
Parameters
- wrap: TCPConnectionNotify iso
Returns
- TCPConnectionNotify iso^
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/net-NoProxy