[F] getHttpService
function getHttpService( program, serviceNamespace, options?): [HttpService, readonly Diagnostic[]];Resolves a namespace’s HTTP operations and directly declared authentication, validating endpoint uniqueness. Does not recurse into nested namespaces when resolving the global namespace. Returns resolution and duplicate-route diagnostics alongside the service.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
serviceNamespace | Namespace |
options? | RouteResolutionOptions |
Returns
Section titled “Returns”[HttpService, readonly Diagnostic[]]