code: func (a *ActionDefinition) WebSocket() bool {
  	schemes := a.EffectiveSchemes()
  	if len(schemes) == 0 {
  		return false
  	}
  	for _, s := range schemes {
  		if s != "ws" && s != "wss" {
  			return false
  		}
  	}
  	return true
  }
docs: // WebSocket returns true if the action scheme is "ws" or "wss" or both (directly or inherited
  // from the resource or API)