// 
// Decompiled by Procyon v0.6.0
// 

package io.sentry.transport;

import org.jetbrains.annotations.Nullable;
import java.io.IOException;
import io.sentry.Hint;
import org.jetbrains.annotations.NotNull;
import io.sentry.SentryEnvelope;
import java.io.Closeable;

public interface ITransport extends Closeable
{
    void send(@NotNull final SentryEnvelope p0, @NotNull final Hint p1) throws IOException;
    
    default void send(@NotNull final SentryEnvelope envelope) throws IOException {
        this.send(envelope, new Hint());
    }
    
    default boolean isHealthy() {
        return true;
    }
    
    void flush(final long p0);
    
    @Nullable
    RateLimiter getRateLimiter();
    
    void close(final boolean p0) throws IOException;
}
