Package io.sentry

Interface ITransportFactory

All Known Implementing Classes:
ApacheHttpClientTransportFactory, AsyncHttpTransportFactory, NoOpTransportFactory

public interface ITransportFactory
Creates instances of ITransport.
  • Method Details

    • create

      @NotNull @NotNull ITransport create(@NotNull @NotNull SentryOptions options, @NotNull @NotNull RequestDetails requestDetails)
      Creates an instance of ITransport.
      Parameters:
      options - sentry configuration that can be used to create transport
      requestDetails - http request properties that must be applied to http request invoked by the transport
      Returns:
      the transport