Skip to content

sidecar proxy #2

Description

@github1

Provide ability to register message handlers which proxy to other services.

Options

  • target: url to proxy to
  • timeout: optional request timeout
  • interceptor: function to modify raw request (e.g. add headers, manipulate body)
meshage
    .init(new meshage.GrapevineCluster())
    .register('echo', meshage.proxy({
       target: 'http://localhost:7000',
       timeout: 30,
       interceptor: req => {
       }
     }))
    .start();

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions