Skip to main content

infoResponse

Callable

  • infoResponse(git: Git, repo: string, service: ServiceString, req: IncomingMessage, res: ServerResponse): void

  • sends http response using the appropriate output from service call


    Parameters

    • git: Git

      an instance of git object

    • repo: string

      the repository

    • service: ServiceString

      the method that is responding infoResponse (push, pull, clone)

    • req: IncomingMessage

      http request object

    • res: ServerResponse

      http response

    Returns void