Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthvader committed Jan 6, 2017
1 parent a56317a commit afff3eb
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,6 @@ Almost all new databases handle it on their level and serialize read/write calls
* it releases two events on $rootScope `HTTP_CALL_STARTED` and `HTTP_CALL_STOPPED`, also sends config objects with events, you can catch this event and do many things. e.g. show loader or block UI from interaction.


## Options

Here are defaults values and possible values that can be passed to the factory for further processing.

````bash
| Property | Acceptable options | Default options |
|-----------|---------------------------------|-----------------|
| Method | get,post,delete,head,put,patch | none |
| url | <string> | none |
| data | <object> | none |
| headers | <object> | none |
| timeout | time in miliseconds | 36000ms |

````


## Use Angular-httpshooter in your webapp

install using npm
Expand Down Expand Up @@ -86,6 +70,22 @@ In your Controller
Yes it is as simple as this.



## Options

Here are defaults values and possible values that can be passed to the factory for further processing.

````bash
| Property | Acceptable options | Default options |
|-----------|---------------------------------|-----------------|
| Method | get,post,delete,head,put,patch | none |
| url | <string> | none |
| data | <object> | none |
| headers | <object> | none |
| timeout | time in miliseconds | 36000ms |

````

## Events


Expand Down

0 comments on commit afff3eb

Please sign in to comment.