rest-vir - v1.0.0
    Preparing search index...

      rest-vir - v1.0.0

      Define Service

      formDataShape
      defineService

      Implement Service

      implementService

      Run Service

      attachService
      startService

      Client (Frontend) Connection

      connectWebSocket
      fetchEndpoint
      mapServiceDevPort

      Create API

      generateApi

      Testing : Client (Frontend)

      createMockClientWebSocketConstructor
      createMockEndpointFetch
      createMockEndpointResponse
      makeMockApi

      Testing : Backend

      describeService
      testEndpoint
      withWebSocketTest

      MISSING CATEGORY

      RejectRequestError
      OriginRequirementResult
      ServiceTestSuite

      Package : @rest-vir/define-service

      CommonWebSocketState
      WebSocketLocation
      CommonWebSocket
      MockClientWebSocket
      MockResponseBodyStream
      RestVirApi
      ServiceDefinitionError
      AnyOrigin
      BaseEndpointForExecutorData
      BaseSearchParams
      BaseServiceEndpointsInit
      BaseServiceWebSocketsInit
      ClientWebSocket
      CollapsedConnectWebSocketParams
      CollapsedFetchEndpointParams
      CollapsedSendAndWaitForReplyParams
      CommonWebSocketEventMap
      CommonWebSocketListenerOptions
      ConnectWebSocketListeners
      ConnectWebSocketParams
      EndpointDefinition
      EndpointExecutorData
      EndpointInit
      EndpointMustStartWithSlashTypeError
      EndpointPathBase
      FetchEndpointOutput
      FetchEndpointParams
      FetchMethod
      FindPortOptions
      FlipWebSocketLocation
      GenerateApiOptions
      GenericConnectWebSocketParams
      GenericEndpointDefinition
      GenericFetchEndpointParams
      GenericWebSocketDefinition
      GetWebSocketMessageTypeFromLocation
      Match
      MatchFunction
      MatchResult
      MinimalService
      MockClientWebSocketClientSendCallback
      MockClientWebSocketClientSendCallbackParams
      MockClientWebSocketListeners
      MockClientWebSocketOptions
      MockEndpointResponseOptions
      MockExistingApi
      MockResponseParams
      NarrowOriginalDefinition
      NoParam
      OriginRequirement
      OverwriteWebSocketMethods
      ParamData
      PathParams
      RestVirApiMocks
      SendAndWaitForReplyParams
      ServiceDefinition
      ServiceDefinitionErrorParams
      ServiceInit
      WebSocketDefinition
      WebSocketInit
      WebSocketListener
      WebSocketListenerParams
      WithFinalEndpointProps
      WithFinalWebSocketProps
      AnyOrigin
      endpointInitShape
      formDataShape
      NoParam
      originRequirementShape
      restVirServiceNameHeader
      webSocketInitShape
      assertValidEndpoint
      assertValidEndpointPath
      assertValidServiceDefinition
      assertValidWebSocketDefinition
      assertValidWebSocketProtocols
      attachEndpointShapeTypeGetters
      attachWebSocketShapeTypeGetters
      buildEndpointRequestInit
      buildEndpointUrl
      buildWebSocketUrl
      checkOriginRequirement
      connectWebSocket
      createMockClientWebSocketConstructor
      createMockEndpointFetch
      createMockEndpointResponse
      createMockFetch
      createMockResponse
      defineService
      ensureServiceDefinitionError
      fetchEndpoint
      finalizeWebSocket
      findDevServicePort
      findLivePort
      generateApi
      getAllowedEndpointMethods
      getOppositeWebSocketLocation
      isAnyOrigin
      isFormDataShape
      makeMockApi
      mapServiceDevPort
      match
      matchesOriginRequirement
      overwriteWebSocketMethods
      parseJsonWithUndefined
      parseSecWebSocketProtocolHeader
      verifyWebSocketMessage
      waitForOpenWebSocket

      Package : @rest-vir/implement-service

      RestVirHandlerError
      ContextInit
      ContextInitOutput
      ContextInitParams
      CustomErrorHandler
      EndpointImplementation
      EndpointImplementationErrorOutput
      EndpointImplementationOutput
      EndpointImplementationParams
      EndpointImplementations
      GenericEndpointImplementationParams
      GenericServiceImplementation
      ImplementedEndpoint
      ImplementedWebSocket
      MatchedServicePath
      PostHook
      PostHookParams
      ReplaceUndefinedWithEmptyObject
      RunningServerInfo
      ServerRequest
      ServerResponse
      ServerWebSocket
      ServiceImplementation
      ServiceImplementationFromServiceDefinition
      ServiceImplementationInit
      ServiceImplementationsParams
      ServiceLogger
      ServiceLoggerOption
      WebSocketImplementation
      WebSocketImplementationParams
      WebSocketImplementations
      defaultServiceLogger
      silentServiceLogger
      assertValidEndpointImplementations
      assertValidWebSocketImplementations
      createRestVirHandlerErrorPrefix
      createServiceLogger
      implementService
      matchUrlToService

      Package : @rest-vir/run-service

      CondenseResponseOptions
      ConnectTestServiceWebSocket
      ConnectTestWebSocket
      EndpointHandler
      EndpointHandlerParams
      FastifyPlugins
      FetchTestEndpoint
      FetchTestService
      HandledOutput
      HandleRouteOptions
      RestVirRequestContext
      StartServiceOptions
      StartServiceOutput
      StartServiceUserOptions
      TestEndpoint
      TestServiceOptions
      TestWebSocket
      WithWebSocketTestCallback
      startServiceOptionsShape
      applyDebugLogger
      attachService
      condenseResponse
      describeService
      finalizeOptions
      handleCors
      handleEndpointRequest
      handleHandlerOutput
      handleHandlerOutputWithoutSending
      handleRequestMethod
      handleRoute
      handleSearchParams
      handleWebSocketRequest
      preHandler
      setResponseHeaders
      startService
      testEndpoint
      testExistingServer
      testService
      testWebSocket
      withWebSocketTest

      Internal

      CommonWebSocketState
      WebSocketLocation
      CommonWebSocket
      MockClientWebSocket
      MockResponseBodyStream
      RestVirApi
      RestVirHandlerError
      ServiceDefinitionError
      AnyOrigin
      BaseEndpointForExecutorData
      BaseSearchParams
      BaseServiceEndpointsInit
      BaseServiceWebSocketsInit
      ClientWebSocket
      CollapsedConnectWebSocketParams
      CollapsedFetchEndpointParams
      CollapsedSendAndWaitForReplyParams
      CommonWebSocketEventMap
      CommonWebSocketListenerOptions
      CondenseResponseOptions
      ConnectTestServiceWebSocket
      ConnectTestWebSocket
      ConnectWebSocketListeners
      ConnectWebSocketParams
      ContextInit
      ContextInitOutput
      ContextInitParams
      CustomErrorHandler
      EndpointDefinition
      EndpointExecutorData
      EndpointHandler
      EndpointHandlerParams
      EndpointImplementation
      EndpointImplementationErrorOutput
      EndpointImplementationOutput
      EndpointImplementationParams
      EndpointImplementations
      EndpointInit
      EndpointMustStartWithSlashTypeError
      EndpointPathBase
      FastifyPlugins
      FetchEndpointOutput
      FetchEndpointParams
      FetchMethod
      FetchTestEndpoint
      FetchTestService
      FindPortOptions
      FlipWebSocketLocation
      GenerateApiOptions
      GenericConnectWebSocketParams
      GenericEndpointDefinition
      GenericEndpointImplementationParams
      GenericFetchEndpointParams
      GenericServiceImplementation
      GenericWebSocketDefinition
      GetWebSocketMessageTypeFromLocation
      HandledOutput
      HandleRouteOptions
      ImplementedEndpoint
      ImplementedWebSocket
      Match
      MatchedServicePath
      MatchFunction
      MatchResult
      MinimalService
      MockClientWebSocketClientSendCallback
      MockClientWebSocketClientSendCallbackParams
      MockClientWebSocketListeners
      MockClientWebSocketOptions
      MockEndpointResponseOptions
      MockExistingApi
      MockResponseParams
      NarrowOriginalDefinition
      NoParam
      OriginRequirement
      OverwriteWebSocketMethods
      ParamData
      PathParams
      PostHook
      PostHookParams
      ReplaceUndefinedWithEmptyObject
      RestVirApiMocks
      RestVirRequestContext
      RunningServerInfo
      SendAndWaitForReplyParams
      ServerRequest
      ServerResponse
      ServerWebSocket
      ServiceDefinition
      ServiceDefinitionErrorParams
      ServiceImplementation
      ServiceImplementationFromServiceDefinition
      ServiceImplementationInit
      ServiceImplementationsParams
      ServiceInit
      ServiceLogger
      ServiceLoggerOption
      StartServiceOptions
      StartServiceOutput
      StartServiceUserOptions
      TestEndpoint
      TestServiceOptions
      TestWebSocket
      WebSocketDefinition
      WebSocketImplementation
      WebSocketImplementationParams
      WebSocketImplementations
      WebSocketInit
      WebSocketListener
      WebSocketListenerParams
      WithFinalEndpointProps
      WithFinalWebSocketProps
      WithWebSocketTestCallback
      AnyOrigin
      defaultServiceLogger
      endpointInitShape
      NoParam
      originRequirementShape
      restVirServiceNameHeader
      silentServiceLogger
      startServiceOptionsShape
      webSocketInitShape
      applyDebugLogger
      assertValidEndpoint
      assertValidEndpointImplementations
      assertValidEndpointPath
      assertValidServiceDefinition
      assertValidWebSocketDefinition
      assertValidWebSocketImplementations
      assertValidWebSocketProtocols
      attachEndpointShapeTypeGetters
      attachWebSocketShapeTypeGetters
      buildEndpointRequestInit
      buildEndpointUrl
      buildWebSocketUrl
      checkOriginRequirement
      condenseResponse
      createMockFetch
      createMockResponse
      createRestVirHandlerErrorPrefix
      createServiceLogger
      ensureServiceDefinitionError
      extractRunningServerInfo
      finalizeOptions
      finalizeWebSocket
      findDevServicePort
      findLivePort
      getAllowedEndpointMethods
      getOppositeWebSocketLocation
      handleCors
      handleEndpointRequest
      handleHandlerOutput
      handleHandlerOutputWithoutSending
      handleRequestMethod
      handleRoute
      handleSearchParams
      handleWebSocketRequest
      isAnyOrigin
      isFormDataShape
      match
      matchesOriginRequirement
      matchUrlToService
      overwriteWebSocketMethods
      parseJsonWithUndefined
      parseSecWebSocketProtocolHeader
      preHandler
      setResponseHeaders
      testExistingServer
      testService
      testWebSocket
      verifyWebSocketMessage
      waitForOpenWebSocket