enum Protocol::Network::ConnectionType

Overview

The underlying connection technology that the browser is supposedly using.

Defined in:

protocol/network.cr

Enum Members

None = 0
Cellular2g = 1
Cellular3g = 2
Cellular4g = 3
Bluetooth = 4
Ethernet = 5
Wifi = 6
Wimax = 7
Other = 8

Instance Method Summary

Class methods inherited from struct Enum

parse?(string : String) : self | Nil parse?

Instance Method Detail

def bluetooth? #

[View source]
def cellular2g? #

[View source]
def cellular3g? #

[View source]
def cellular4g? #

[View source]
def ethernet? #

[View source]
def none? #

[View source]
def other? #

[View source]
def wifi? #

[View source]
def wimax? #

[View source]