NOTICE: PostService is in ALPHA release, expect more features to be added shortly!
PostService is a Roblox library that allows developers to easily bridge the client and server gap, securely and efficiently.
There are many benefits of using PostService, below are a list of a few:
- PostService securely executes methods, if a client tries to falsely fire a non-existing method, said client will be kicked.
- PostService is optimized, it can execute code quite quickly.
- PostService supports “bulk” firing, where you fire multiple methods from one event fire.
- PostService allows you to both send data directly, as well as retrieve data.
There are many more reasons you should use PostService than listed above, those are just some of the main reasons.
Yes! PostService is very easy to use! Below is an example of how to use it!
local PostService = require(game.ReplicatedStorage.PostService.PostService) PostService.start() local Server = PostService.get() Server.add("TestArgument",function(player,argument1,argument2,...) print(argument1) print(argument2) print(...) end)
local PostService = require(game.ReplicatedStorage.PostService.PostService) PostService.start() local Client = PostService.get() Client.fire("TestArgument","Argument 1","Argument 2","Argument 3","etc")
That’s it! That’s all that needs to be done in order to setup and use the basics of PostService!