Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add gitreview file for jellyfish branch
[src/app-framework-binder.git]
/
docs
/
afb-binding-writing.md
diff --git
a/docs/afb-binding-writing.md
b/docs/afb-binding-writing.md
index
e1401d8
..
3e4abe3
100644
(file)
--- a/
docs/afb-binding-writing.md
+++ b/
docs/afb-binding-writing.md
@@
-105,7
+105,7
@@
gcc -fPIC -shared tuto-1.c -o tuto-1.so $(pkg-config --cflags-only-I afb-daemon)
Running:
```bash
Running:
```bash
-afb-daemon --binding tuto-1.so --port 3333 --token ''
+afb-daemon --binding
./
tuto-1.so --port 3333 --token ''
```
At this point, afb-daemon has started, it loaded the binding tuto-1.so and now
```
At this point, afb-daemon has started, it loaded the binding tuto-1.so and now
@@
-356,7
+356,7
@@
gcc -fPIC -shared tuto-2.c -o tuto-2.so $(pkg-config --cflags --libs afb-daemon)
Running:
```bash
Running:
```bash
-afb-daemon --binding tuto-2.so --port 3333 --token ''
+afb-daemon --binding
./
tuto-2.so --port 3333 --token ''
```
Testing:
```
Testing:
@@
-401,7
+401,7
@@
ON-REPLY 4:tuto-2/action: OK
}
```
}
```
-In an
other terminal:
+In another terminal:
```bash
$ afb-client-demo -H localhost:3333/api?token=toto
```bash
$ afb-client-demo -H localhost:3333/api?token=toto