NoProxy

[Source]

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

Constructors

create

[Source]

new iso create()
: NoProxy iso^

Returns

Public Functions

apply

[Source]

fun box apply(
  wrap: TCPConnectionNotify iso)
: TCPConnectionNotify iso^

Parameters

Returns

© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/net-NoProxy