com.volcengine.tos.internal.Transport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ve-tos-java-sdk Show documentation
Show all versions of ve-tos-java-sdk Show documentation
The VolcEngine TOS SDK for Java
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);
}