master
Klaus Wendel 8 months ago
parent 61096577c0
commit 6138c00b12

@ -106,7 +106,7 @@ func (r *GosmContainer) WsContainerSend(method WsCommunicationMethod, conn *webs
}
func (r *GosmContainer) WsContainerReceive(method WsCommunicationMethod, conn *websocket.Conn, ctx context.Context, dosth interface{}) (err error, myresponse interface{}, mtr websocket.MessageType) {
var receival interface{}
var receiveval interface{}
switch {
case method == TextMethod || method == BinaryMethod:
err, receiveval, myresponse, mtr = WsReceive(ctx, conn, dosth.(func([]byte) []byte))

Loading…
Cancel
Save