Skip to content

Commit

Permalink
Merge pull request #70 from erickbelfy/fix/documetation
Browse files Browse the repository at this point in the history
fix(documentation): fix heading tags
  • Loading branch information
srinandan authored Dec 24, 2017
2 parents 1e12374 + 9a4fd05 commit 4c61aab
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#Plugins
# Plugins

Build Status [![Build Status](https://travis-ci.org/apigee/microgateway-plugins.svg?branch=accumulate-request-fixes)](https://travis-ci.org/apigee/microgateway-plugins)

##Overview
## Overview
This repo contains plugins for the [microgateway-core project](https://github.com/apigee/microgateway-core).

These plugins can be loaded into the microgateway calling the load plugin method

##Building a plugin
## Building a plugin
must contain an init method which returns an object literal with all of the handlers

```javascript
Expand Down Expand Up @@ -35,13 +35,14 @@ the available handlers are
* onclose_response
* onerror_response

the handler signature will look like
The handler signature will look like :

```javascript
function(sourceRequest,sourceResponse,[options],next){}
```
* sourceRequest: the request from the northbound server
* sourceResponse the response to the northbound server

* sourceRequest: the request from the northbound server;
* sourceResponse the response to the northbound server;
* options: are the full scope of fields you might need to operate on.

```javascript
Expand Down

0 comments on commit 4c61aab

Please sign in to comment.