|
Revision 1870, 0.6 kB
(checked in by nahi, 2 years ago)
|
- change SOAP::Filter::StreamHandler? hook method name: on_httppost_* -> on_http_*.
|
| Line | |
|---|
| 1 |
# SOAP4R - SOAP stream filter base class. |
|---|
| 2 |
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>. |
|---|
| 3 |
|
|---|
| 4 |
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can |
|---|
| 5 |
# redistribute it and/or modify it under the same terms of Ruby's license; |
|---|
| 6 |
# either the dual license version in 2003, or any later version. |
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
module SOAP |
|---|
| 10 |
module Filter |
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
class StreamHandler |
|---|
| 14 |
|
|---|
| 15 |
# no returning value expected. |
|---|
| 16 |
def on_http_outbound(req) |
|---|
| 17 |
# do something. |
|---|
| 18 |
end |
|---|
| 19 |
|
|---|
| 20 |
# no returning value expected. |
|---|
| 21 |
def on_http_inbound(req, res) |
|---|
| 22 |
# do something. |
|---|
| 23 |
end |
|---|
| 24 |
|
|---|
| 25 |
end |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
end |
|---|
| 29 |
end |
|---|