BaseClient class
Copyright 2022 Orion Services @ https://github.com/orion-services Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
- Implementers
Constructors
- BaseClient([bool https = false, String host = 'localhost', String port = '8080'])
-
bool https
indicates if the client will make requests over http or httpsString host
the host of the serviceString port
the port used by the service
Properties
- api ↔ String
-
the api version
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ String
-
the host of the service
getter/setter pair
- https ↔ bool
-
getter/setter pair
- port ↔ String
-
the port of the service
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wsEndpoint ↔ String
-
getter/setter pair
- wsURL ↔ String
-
the result url
getter/setter pair
Methods
-
changeServiceConnection(
bool https, String host, String port) → void -
Method used to change parameters to connect in users service
bool https
indicates if the client will use http or httpsString host
the host of the serviceString port
the port used by the service -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited