/// <summary> /// Sends the message. /// </summary> /// <param name="projectName">Name of the project.</param> /// <param name="message">The message.</param> /// <remarks></remarks> public void SendMessage(string projectName, Message message) { MessageRequest request = new MessageRequest(); request.ProjectName = projectName; request.Message = message.Text; request.Kind = message.Kind; Response resp = cruiseServer.SendMessage(request); ValidateResponse(resp); }
/// <summary> /// Send a text message to the server. /// </summary> /// <param name="request"></param> /// <returns></returns> public virtual Response SendMessage(MessageRequest request) { return(server.SendMessage(request)); }