public RegisterEndpointHandler ( string pattern, EndpointHandler handler, bool handleOnUiThread = true ) : void | ||
pattern | string | Simple string or regex to match APIs that this can handle. This must match what comes after the ".../api/" of the URL |
handler | EndpointHandler | The method to call |
handleOnUiThread | bool | For safety, this defaults to true, but that can kill performance if you don't need it (BL-3452) |
Результат | void |