All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.tos.internal.Transport Maven / Gradle / Ivy

The newest version!
package com.volcengine.tos.internal;

import com.volcengine.tos.transport.TransportConfig;

import java.io.IOException;

public interface Transport {
    /**
     * a roundTrip includes doing a Tos request and wrapping the result with Tos response
     *
     * @param request Tos Request
     * @return {@link TosResponse}
     * @throws IOException
     */
    TosResponse roundTrip(TosRequest request) throws IOException;

    void switchConfig(TransportConfig config);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy