|
|
|
@ -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))
|
|
|
|
|