RegisterHandler() private méthode

private RegisterHandler ( string route, Handler handler ) : bool
route string
handler Handler
Résultat bool
Exemple #1
0
 internal static void Register()
 {
     Router.RegisterHandler("/unity/projectstate", new ProjectStateRestHandler());
 }
 internal static void Register()
 {
     Router.RegisterHandler("/unity/assets", new LibraryHandler());
     Router.RegisterHandler("/unity/assets/*", new AssetHandler());
 }
Exemple #3
0
 internal static void Register()
 {
     Router.RegisterHandler("/unity/pair", new PairingRestHandler());
 }
 internal static void Register()
 {
     Router.RegisterHandler("/unity/playmode", new PlayModeRestHandler());
 }
 internal static void Register()
 {
     Router.RegisterHandler("/unity/opendocuments", new OpenDocumentsRestHandler());
 }