Skip to content

Commit

Permalink
Release 2.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Aug 8, 2021
1 parent 73e7535 commit 552984d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion emmett/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.2.4"
__version__ = "2.2.5"
6 changes: 3 additions & 3 deletions emmett/tools/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ async def pipe_request(self, next_pipe, **kwargs):
current.response.headers._data['content-type'] = 'application/json'
return self.encoder(await next_pipe(**kwargs))

def receive(self, data):
def on_receive(self, data):
return self.decoder(data)

def send(self, data):
def on_send(self, data):
return self.encoder(data)


Expand All @@ -45,7 +45,7 @@ async def pipe_request(self, next_pipe, **kwargs):
current.response.headers._data['content-type'] = 'text/xml'
return self.encoder(await next_pipe(**kwargs))

def send(self, data):
def on_send(self, data):
return self.encoder(data)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Emmett"
version = "2.2.4"
version = "2.2.5"
description = "The web framework for inventors"
authors = ["Giovanni Barillari <[email protected]>"]
license = "BSD-3-Clause"
Expand Down

0 comments on commit 552984d

Please sign in to comment.