Ejemplo n.º 1
0
		public static void DisconnectImmediately(StompClient client)
		{
			Verify.ArgumentNotNull(client, "client");
			var message = new StompFrame(StompCommand.Disconnect)
			              	{
			              		Headers =
			              			{
			              				{StompHeader.NonStandard.KeepSession, "true"}
			              			}
			              	};
			client.SendRawMessage(message, false);
		}