Client/Client.cpp
void Client::testType0(Sender& sndr, int timeout) {
	Utils::title("Sending 5 test messages");
	putline();
	HttpMessage message;
	for (int i = 1; i <= 5; i++) {
		std::string body = "Test Message #" + i;
		message = sndr.makeMessage(0, body, remoteUrl);
		sndr.postMessage(message);
		::Sleep(timeout);
	}
}
// ----------< test messages of type 0 >------------
< test messages of type 0 >
< test messages of type 0 >
void Client::testType0(Sender& sndr, int timeout) {
	Utils::title("Sending 5 test messages");
	putline();
	HttpMessage message;
	for (int i = 1; i <= 5; i++) {
		std::string body = "Test Message #" + i;
		message = sndr.makeMessage(0, body, remoteUrl);
		sndr.postMessage(message);
		::Sleep(timeout);
	}
}
void Client :: testType0 ( Sender & sndr , int timeout ) { Utils :: title ( " " ) ; putline ( ) ; HttpMessage message ; for ( int i = 1 ; i <= 5 ; i ++ ) { std :: string body = " " + i ; message = sndr . makeMessage ( 0 , body , remoteUrl ) ; sndr . postMessage ( message ) ; :: Sleep ( timeout ) ; } }
< test messages of type 0 >
< test messages of type 0 >