Package io.sentry
Interface ITransportFactory
-
- All Known Implementing Classes:
AsyncHttpTransportFactory
,NoOpTransportFactory
public interface ITransportFactory
Creates instances ofITransport
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ITransport
create(@NotNull SentryOptions options, @NotNull RequestDetails requestDetails)
Creates an instance ofITransport
.
-
-
-
Method Detail
-
create
@NotNull @NotNull ITransport create(@NotNull @NotNull SentryOptions options, @NotNull @NotNull RequestDetails requestDetails)
Creates an instance ofITransport
.- Parameters:
options
- sentry configuration that can be used to create transportrequestDetails
- http request properties that must be applied to http request invoked by the transport- Returns:
- the transport
-
-