GoldenGateBindings / com.fitbit.goldengate.bindings.coap.data / OutgoingResponseBuilder / responseCode

responseCode

fun responseCode(code: ResponseCode): OutgoingResponseBuilder

Set the ResponseCode to build a response with (e.g. 2.01, 4.04)

Parameters

code - the ResponseCode this builder will build an OutgoingResponse with.