Closed speedfl closed 2 years ago
Reference: https://github.com/fabric8io/mockwebserver/issues/71
Purpose is to be able to send a closing message to the websocket. When running a kubernetes exec, a io.fabric8.kubernetes.api.model.Status is sent (ref: https://github.com/fabric8io/kubernetes-client/issues/3793)
io.fabric8.kubernetes.api.model.Status
This allows to write:
.waitFor(1500).andEmit(new WebsocketCloseReason(1000, "json representation of the status"))
Reference: https://github.com/fabric8io/mockwebserver/issues/71
Purpose is to be able to send a closing message to the websocket. When running a kubernetes exec, a
io.fabric8.kubernetes.api.model.Status
is sent (ref: https://github.com/fabric8io/kubernetes-client/issues/3793)This allows to write: