Making function that pushes resources to client generic.