?? main.pas
字號:
namespace Server;
interface
uses
System,
RemObjects.SDK,
RemObjects.SDK.Server;
type
ServerMain = class
public
class method Main;
end;
implementation
class method ServerMain.Main;
var
lServerChannel: ServerChannel;
lMessage: Message;
begin
Console.WriteLine('RemObjects SDK for .NET - Chrome Command Line Server');
lServerChannel := new RemObjects.SDK.Server.IpHttpServerChannel();
lMessage := new RemObjects.SDK.SoapMessage();
lServerChannel.Dispatchers.Add(lMessage.DefaultDispatcherName, lMessage);
//ToDo: add code to configure your ServerChannel and Message and objects here, if needed
lServerChannel.Open();
try
Console.WriteLine('Server is active, press Enter to stop.');
Console.ReadLine();
finally
lServerChannel.Close();
end;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -