master
Klaus Wendel 8 months ago
parent db8e9f74d5
commit 61096577c0

@ -106,6 +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{}
switch {
case method == TextMethod || method == BinaryMethod:
err, receiveval, myresponse, mtr = WsReceive(ctx, conn, dosth.(func([]byte) []byte))

Loading…
Cancel
Save