/// <summary>
 /// Initializes a new instance of the <see cref="WebSocketMessageMetaJsonConverter"/> class.
 /// </summary>
 /// <param name="settings">The settings.</param>
 public WebSocketMessageMetaJsonConverter(WebSocketSettings settings)
 {
     if (settings != null)
     {
         this.MessageActionAlias = settings.MessageActionAlias.SafeToString("action");
         this.MessageBodyAlias = settings.MessageBodyAlias.SafeToString("body");
         this.MessageExceptionAlias = settings.MessageExceptionAlias.SafeToString("exception");
         this.MessageReferrerAlias = settings.MessageReferrerAlias.SafeToString("referrer");
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseWebSocketHandler"/> class.
 /// </summary>
 /// <param name="settings">The settings.</param>
 protected BaseWebSocketHandler(WebSocketSettings settings)
 {
     this._settings = settings;
     this._messageJsonConverter = new WebSocketMessageMetaJsonConverter(settings);
 }