@@ -69,8 +69,7 @@ def __init__(self, url: str,
69
69
70
70
:param url: specifies the URL to which to connect
71
71
:param option: specifies the settings, if any,
72
- in the form of an Dict[str, Any]. Current only one key supported
73
- - with_credentials: bool, specifies CORS mode to `Use Credentials`
72
+ in the form of an Dict[str, Any]. Reserved for future use
74
73
:param reconnection_time: wait time before try to reconnect in case
75
74
connection broken
76
75
:param session: specifies a aiohttp.ClientSession, if not, create
@@ -82,10 +81,6 @@ def __init__(self, url: str,
82
81
method.
83
82
"""
84
83
self ._url = URL (url )
85
- if option is not None :
86
- self ._with_credentials = option .get ('with_credentials' , False )
87
- else :
88
- self ._with_credentials = False
89
84
self ._ready_state = READY_STATE_CONNECTING
90
85
91
86
if session is not None :
@@ -139,11 +134,6 @@ def url(self) -> URL:
139
134
"""Return URL to which to connect."""
140
135
return self ._url
141
136
142
- @property
143
- def with_credentials (self ) -> bool :
144
- """Return whether CORS mode set to `User Credentials`."""
145
- return self ._with_credentials
146
-
147
137
@property
148
138
def ready_state (self ) -> int :
149
139
"""Return ready state."""
0 commit comments