GNServer 0.0.0.0.18__tar.gz → 0.0.0.0.19__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -392,6 +392,8 @@ class App:
392
392
  self._routes: List[Route] = []
393
393
  self._cors: Optional[gn.CORSObject] = None
394
394
 
395
+ self.domain: str = None
396
+
395
397
  def route(self, method: str, path: str, cors: Optional[gn.CORSObject] = None):
396
398
  if path == '/':
397
399
  path = ''
@@ -683,16 +685,20 @@ class App:
683
685
 
684
686
  def run(
685
687
  self,
686
- host: str,
688
+ domain: str,
687
689
  port: int,
688
690
  cert_path: str,
689
691
  key_path: str,
690
692
  *,
693
+ host: Optional[str] = '0.0.0.0',
691
694
  idle_timeout: float = 20.0,
692
695
  wait: bool = True,
693
696
  run: Optional[Callable] = None
694
697
  ):
695
698
 
699
+ self.domain = domain
700
+
701
+
696
702
  self._init_sys_routes()
697
703
 
698
704
  cfg = QuicConfiguration(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GNServer
3
- Version: 0.0.0.0.18
3
+ Version: 0.0.0.0.19
4
4
  Summary: GNServer
5
5
  Home-page: https://github.com/KeyisB/libs/tree/main/GNServer
6
6
  Author: KeyisB
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GNServer
3
- Version: 0.0.0.0.18
3
+ Version: 0.0.0.0.19
4
4
  Summary: GNServer
5
5
  Home-page: https://github.com/KeyisB/libs/tree/main/GNServer
6
6
  Author: KeyisB
@@ -5,7 +5,7 @@ filesName = 'GNServer'
5
5
 
6
6
  setup(
7
7
  name=name,
8
- version='0.0.0.0.18',
8
+ version='0.0.0.0.19',
9
9
  author="KeyisB",
10
10
  author_email="keyisb.pip@gmail.com",
11
11
  description=name,
File without changes
File without changes
File without changes