Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in README.md #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ AMQP 0.9.1 with RabbitMQ extensions in Common Lisp
:payload method))
(obuffer (amqp:new-obuffer)))
(amqp:obuffer-get-bytes
(amqp:frame-encode frame obuffer)))
(amqp:frame-encoder frame obuffer)))

=>
#b"\x01\x00\x01\x00\x00\x00\x0d\x00<\x00P\x00\x00\x00\x00\x00\x00\x00d\x00\xce"
Expand All @@ -26,27 +26,27 @@ AMQP 0.9.1 with RabbitMQ extensions in Common Lisp
(parser (amqp:make-frame-parser
:on-frame-type (lambda (parser frame-type)
(declare (ignore parser))
(setf frame (make-instance
(setf frame (make-instance
(amqp:frame-class-from-frame-type frame-type))))
:on-frame-channel (lambda (parser frame-channel)
(declare (ignore parser))
(setf (amqp:frame-channel frame) frame-channel))
:on-frame-payload-size (lambda (parser payload-size)
(declare (ignore parser))
(setf (amqp:frame-size frame) payload-size)
(setf (amqp:frame-payload-size frame) payload-size)
(setf payload-parser
(amqp:make-frame-payload-parser frame)))
:on-frame-payload (lambda (parser data start end)
(declare (ignore parser))
(amqp:frame-payload-parser-consume payload-parser
(amqp:frame-payload-parser-consume payload-parser
data :start start :end end))
:on-frame-end (lambda (parser)
(declare (ignore parser))
(amqp:frame-payload-parser-finish payload-parser)))))

(amqp:frame-parser-consume parser bytes)
(amqp:frame-payload frame))

=>
#<CL-AMQP:AMQP-METHOD-BASIC-ACK {1009C6B703}>
```
Expand Down