Co-authored-by: Elephant Lumps <celestial_vault@Elephants-MacBook-Pro.local>
23 lines
907 B
TypeScript
23 lines
907 B
TypeScript
// AUTO-GENERATED FILE - DO NOT MODIFY DIRECTLY
|
|
// Generated by proto/build-proto.js
|
|
|
|
import { createServiceRegistry, ServiceMethodHandler, StreamingMethodHandler } from "../host-grpc-service"
|
|
import { StreamingResponseHandler } from "../host-grpc-handler"
|
|
import { registerAllMethods } from "./methods"
|
|
|
|
// Create uri service registry
|
|
const uriService = createServiceRegistry("uri")
|
|
|
|
// Export the method handler types and registration function
|
|
export type UriMethodHandler = ServiceMethodHandler
|
|
export type UriStreamingMethodHandler = StreamingMethodHandler
|
|
export const registerMethod = uriService.registerMethod
|
|
|
|
// Export the request handlers
|
|
export const handleUriServiceRequest = uriService.handleRequest
|
|
export const handleUriServiceStreamingRequest = uriService.handleStreamingRequest
|
|
export const isStreamingMethod = uriService.isStreamingMethod
|
|
|
|
// Register all uri methods
|
|
registerAllMethods()
|