mirror of
https://github.com/status-im/react-native-udp.git
synced 2025-01-12 01:54:49 +00:00
3ce4b63536
moved ios specific code into a subfolder created an android folder updated the Install instructions on the readme bumped the version to 0.2.0
16 lines
206 B
JavaScript
16 lines
206 B
JavaScript
|
|
/**
|
|
* @providesModule UdpSockets
|
|
* @flow
|
|
*/
|
|
|
|
var UdpSocket = require('./UdpSocket');
|
|
|
|
exports.createSocket = function(type) {
|
|
return new UdpSocket({
|
|
type: type
|
|
})
|
|
}
|
|
|
|
exports.Socket = UdpSocket;
|