Table of Contents

Delegate TransportFactory

Namespace
PuppeteerSharp.Transport
Assembly
PuppeteerSharp.dll

Delegate for creation of IConnectionTransport instances.

public delegate Task<IConnectionTransport> TransportFactory(Uri url, IConnectionOptions options, CancellationToken cancellationToken)

Parameters

url Uri

Chromium URL.

options IConnectionOptions

Connection options.

cancellationToken CancellationToken

A cancellation token.

Returns

Task<IConnectionTransport>

A Task<TResult> instance for the asynchronous socket create and connect operation.