com.github.phisgr.gatling.kt.grpc.action.GrpcCallActionBuilder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gatling-grpc-kt Show documentation
Show all versions of gatling-grpc-kt Show documentation
Kotlin/Java binding for Gatling-gRPC
The newest version!
package com.github.phisgr.gatling.kt.grpc.action
import com.github.phisgr.gatling.grpc.check.GrpcCheck
import com.github.phisgr.gatling.grpc.check.GrpcResponse
import com.github.phisgr.gatling.kt.grpc.internal.build
import com.github.phisgr.gatling.kt.grpc.request.CallDefinition
import io.gatling.javaapi.core.CheckBuilder
import com.github.phisgr.gatling.grpc.action.GrpcCallActionBuilder as GrpcCallActionBuilderS
class GrpcCallActionBuilder(private val wrapped: GrpcCallActionBuilderS) : CallDefinition<
GrpcCallActionBuilder,
Req,
Res,
GrpcResponse,
GrpcCallActionBuilderS,
GrpcCheck>() {
override fun asScala(): GrpcCallActionBuilderS = wrapped
override fun buildCheck(builder: CheckBuilder): GrpcCheck =
builder.build()
@JvmSynthetic
override fun wrap(wrapped: GrpcCallActionBuilderS): GrpcCallActionBuilder =
GrpcCallActionBuilder(wrapped)
/**
* See [GrpcCallActionBuilderS.silent]
*/
fun silent() = wrap(asScala().silent())
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy